1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2652 #define SWIG_name "_windows_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2735 # define LLONG_MIN LONG_LONG_MIN
2738 # define LLONG_MAX LONG_LONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2746 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2748 if (PyNumber_Check(obj
)) {
2749 if (val
) *val
= PyInt_AsLong(obj
);
2752 return SWIG_TypeError
;
2757 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2760 int res
= SWIG_AsVal_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< int >(v
);
2773 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2775 if (obj
== Py_True
) {
2776 if (val
) *val
= true;
2778 } else if (obj
== Py_False
) {
2779 if (val
) *val
= false;
2783 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2784 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2790 #define SWIG_From_long PyInt_FromLong
2793 SWIGINTERNINLINE PyObject
*
2794 SWIG_From_int (int value
)
2796 return SWIG_From_long (value
);
2801 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2803 if (PyNumber_Check(obj
)) {
2804 if (val
) *val
= PyFloat_AsDouble(obj
);
2807 return SWIG_TypeError
;
2811 #define SWIG_From_double PyFloat_FromDouble
2813 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2814 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2815 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2816 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2817 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2821 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2823 self
->GetFieldRect(i
, r
);
2826 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2830 #include <wx/popupwin.h>
2833 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2838 : wxPopupTransientWindow(parent
, style
) {}
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2841 DEC_PYCALLBACK__(OnDismiss
);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2852 #include <wx/tipwin.h>
2854 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2855 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2858 #include <wx/tipwin.h>
2861 #include <wx/vscroll.h>
2864 class wxPyVScrolledWindow
: public wxVScrolledWindow
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2870 wxPyVScrolledWindow(wxWindow
*parent
,
2871 wxWindowID id
= wxID_ANY
,
2872 const wxPoint
& pos
= wxDefaultPosition
,
2873 const wxSize
& size
= wxDefaultSize
,
2875 const wxString
& name
= wxPyPanelNameStr
)
2876 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2879 // Overridable virtuals
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2908 // this function should return the best guess for the total height it may
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2913 // Also expose some other interesting protected methods
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2943 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2946 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2947 return SWIG_TypeError
;
2950 *val
= (unsigned long)v
;
2955 SWIGINTERNINLINE
int
2956 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2959 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2960 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_unsigned_SS_long (unsigned long value
)
2968 return (value
> LONG_MAX
) ?
2969 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_size_t (size_t value
)
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2980 #include <wx/vlbox.h>
2982 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2984 class wxPyVListBox
: public wxVListBox
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2988 wxPyVListBox() : wxVListBox() {}
2990 wxPyVListBox(wxWindow
*parent
,
2991 wxWindowID id
= wxID_ANY
,
2992 const wxPoint
& pos
= wxDefaultPosition
,
2993 const wxSize
& size
= wxDefaultSize
,
2995 const wxString
& name
= wxPyVListBoxNameStr
)
2996 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2999 // Overridable virtuals
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3007 // the derived class must implement this method to return the height of the
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3022 // this method is used to draw the items background and, maybe, a border
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3044 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3045 unsigned long cookie
= 0;
3046 int selected
= self
->GetFirstSelected(cookie
);
3047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3048 PyObject
* tup
= PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3050 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3051 wxPyEndBlockThreads(blocked
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3055 int selected
= self
->GetNextSelected(cookie
);
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 PyObject
* tup
= PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3059 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3060 wxPyEndBlockThreads(blocked
);
3064 #include <wx/htmllbox.h>
3067 class wxPyHtmlListBox
: public wxHtmlListBox
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3073 wxPyHtmlListBox(wxWindow
*parent
,
3074 wxWindowID id
= wxID_ANY
,
3075 const wxPoint
& pos
= wxDefaultPosition
,
3076 const wxSize
& size
= wxDefaultSize
,
3078 const wxString
& name
= wxPyVListBoxNameStr
)
3079 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3082 // Overridable virtuals
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n
,
3113 const wxHtmlLinkInfo
& link
);
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3128 const wxHtmlLinkInfo
& link
) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3132 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3136 wxPyEndBlockThreads(blocked
);
3138 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3148 class wxTaskBarIcon
: public wxEvtHandler
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3155 class wxTaskBarIconEvent
: public wxEvent
3158 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent
* Clone() const { return NULL
; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu
*menu
) { return false; }
3169 wxEVT_TASKBAR_MOVE
= 0,
3170 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3171 wxEVT_TASKBAR_LEFT_UP
= 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3173 wxEVT_TASKBAR_RIGHT_UP
= 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon
: public wxTaskBarIcon
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3188 wxMenu
* CreatePopupMenu() {
3189 wxMenu
*rval
= NULL
;
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3195 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3197 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3202 wxPyEndBlockThreads(blocked
);
3204 rval
= wxTaskBarIcon::CreatePopupMenu();
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3215 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3219 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3220 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3221 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3222 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3223 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3224 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3225 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3227 self
->GetFilenames(arr
);
3228 return wxArrayString2PyList_helper(arr
);
3230 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3232 self
->GetPaths(arr
);
3233 return wxArrayString2PyList_helper(arr
);
3235 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3236 return wxArrayInt2PyList_helper(self
->GetSelections());
3238 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
){
3239 return new wxSingleChoiceDialog(parent
, message
, caption
,
3240 choices
, choices_array
, NULL
, style
, pos
);
3242 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3244 SWIGINTERNINLINE PyObject
*
3245 SWIG_From_bool (bool value
)
3247 return PyBool_FromLong(value
? 1 : 0);
3253 // C++ version of Python aware wxWindow
3254 class wxPyWindow
: public wxWindow
3256 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3258 wxPyWindow() : wxWindow() {}
3259 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3260 const wxPoint
& pos
= wxDefaultPosition
,
3261 const wxSize
& size
= wxDefaultSize
,
3263 const wxString
& name
= wxPyPanelNameStr
)
3264 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3266 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3268 bool DoEraseBackground(wxDC
* dc
) {
3270 return wxWindow::DoEraseBackground(dc
->GetHDC());
3272 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3278 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3279 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3287 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3290 DEC_PYCALLBACK__(InitDialog
);
3291 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3293 DEC_PYCALLBACK_BOOL_(Validate
);
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3297 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3299 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3302 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3307 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3312 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3314 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3315 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3316 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3323 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3326 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3331 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3335 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3339 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3343 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3345 // C++ version of Python aware wxPanel
3346 class wxPyPanel
: public wxPanel
3348 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3350 wxPyPanel() : wxPanel() {}
3351 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3352 const wxPoint
& pos
= wxDefaultPosition
,
3353 const wxSize
& size
= wxDefaultSize
,
3355 const wxString
& name
= wxPyPanelNameStr
)
3356 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3358 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3359 bool DoEraseBackground(wxDC
* dc
) {
3361 return wxWindow::DoEraseBackground(dc
->GetHDC());
3363 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3370 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3371 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3379 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3380 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3382 DEC_PYCALLBACK__(InitDialog
);
3383 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3384 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3385 DEC_PYCALLBACK_BOOL_(Validate
);
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3389 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3391 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3394 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3395 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3397 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3399 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3404 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3406 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3407 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3408 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3411 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3415 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3418 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3423 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3427 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3430 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3431 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3435 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3437 // C++ version of Python aware wxScrolledWindow
3438 class wxPyScrolledWindow
: public wxScrolledWindow
3440 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3442 wxPyScrolledWindow() : wxScrolledWindow() {}
3443 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3444 const wxPoint
& pos
= wxDefaultPosition
,
3445 const wxSize
& size
= wxDefaultSize
,
3447 const wxString
& name
= wxPyPanelNameStr
)
3448 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3450 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3451 bool DoEraseBackground(wxDC
* dc
) {
3453 return wxWindow::DoEraseBackground(dc
->GetHDC());
3455 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3461 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3462 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3470 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3471 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3473 DEC_PYCALLBACK__(InitDialog
);
3474 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3475 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3476 DEC_PYCALLBACK_BOOL_(Validate
);
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3480 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3482 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3485 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3486 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3488 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3490 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3495 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3497 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3498 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3499 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3502 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3506 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3509 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3514 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3518 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3521 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3522 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3526 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3529 #include "wx/wxPython/printfw.h"
3532 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3533 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3534 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3536 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3537 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3538 self
->GetPrivDataLen());
3539 wxPyEndBlockThreads(blocked
);
3542 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3543 if (! PyString_Check(data
)) {
3544 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3545 "Expected string object"));
3549 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3550 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3551 wxPyEndBlockThreads(blocked
);
3555 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3557 // Since this one would be tough and ugly to do with the Macros...
3558 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3559 bool hadErr
= false;
3562 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3563 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3564 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3565 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3568 val
= PyTuple_GetItem(result
, 0);
3569 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3572 val
= PyTuple_GetItem(result
, 1);
3573 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3576 val
= PyTuple_GetItem(result
, 2);
3577 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 3);
3581 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3588 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3593 wxPyEndBlockThreads(blocked
);
3595 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3600 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3601 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3602 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3603 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3604 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3605 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3606 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3612 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3613 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3616 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3617 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3620 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3621 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3622 PyObject* win = wxPyMake_wxObject(a,false); \
3623 PyObject* dc = wxPyMake_wxObject(&b,false); \
3624 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3628 wxPyEndBlockThreads(blocked); \
3630 rval = PCLASS::CBNAME(a, b); \
3637 class wxPyPrintPreview
: public wxPrintPreview
3639 DECLARE_CLASS(wxPyPrintPreview
)
3641 wxPyPrintPreview(wxPyPrintout
* printout
,
3642 wxPyPrintout
* printoutForPrinting
,
3643 wxPrintDialogData
* data
=NULL
)
3644 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3646 wxPyPrintPreview(wxPyPrintout
* printout
,
3647 wxPyPrintout
* printoutForPrinting
,
3649 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3652 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3655 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3656 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3657 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3658 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3663 // Stupid renamed classes... Fix this in 2.5...
3664 #if defined(__WXMSW__)
3665 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3666 #elif defined(__WXMAC__)
3667 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3669 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3672 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3673 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3675 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3676 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3677 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3678 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3681 class wxPyPreviewFrame
: public wxPreviewFrame
3683 DECLARE_CLASS(wxPyPreviewFrame
)
3685 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3686 const wxString
& title
,
3687 const wxPoint
& pos
= wxDefaultPosition
,
3688 const wxSize
& size
= wxDefaultSize
,
3689 long style
= wxDEFAULT_FRAME_STYLE
,
3690 const wxString
& name
= wxPyFrameNameStr
)
3691 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3694 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3695 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3697 DEC_PYCALLBACK_VOID_(Initialize
);
3698 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3699 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3704 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3706 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3711 class wxPyPreviewControlBar
: public wxPreviewControlBar
3713 DECLARE_CLASS(wxPyPreviewControlBar
)
3715 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3718 const wxPoint
& pos
= wxDefaultPosition
,
3719 const wxSize
& size
= wxDefaultSize
,
3721 const wxString
& name
= wxPyPanelNameStr
)
3722 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3725 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3727 DEC_PYCALLBACK_VOID_(CreateButtons
);
3728 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3733 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3735 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3740 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= 0;
3742 wxWindow
*arg1
= (wxWindow
*) 0 ;
3743 int arg2
= (int) (int)-1 ;
3744 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3745 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3746 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3747 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3748 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3749 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3750 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3751 wxPanel
*result
= 0 ;
3760 bool temp6
= false ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3763 PyObject
* obj2
= 0 ;
3764 PyObject
* obj3
= 0 ;
3765 PyObject
* obj4
= 0 ;
3766 PyObject
* obj5
= 0 ;
3767 char * kwnames
[] = {
3768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3773 if (!SWIG_IsOK(res1
)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3776 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3779 if (!SWIG_IsOK(ecode2
)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3782 arg2
= static_cast< int >(val2
);
3787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3797 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3798 if (!SWIG_IsOK(ecode5
)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3801 arg5
= static_cast< long >(val5
);
3805 arg6
= wxString_in_helper(obj5
);
3806 if (arg6
== NULL
) SWIG_fail
;
3811 if (!wxPyCheckForApp()) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3832 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3833 PyObject
*resultobj
= 0;
3834 wxPanel
*result
= 0 ;
3836 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxPanel
*)new wxPanel();
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3851 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
= 0;
3853 wxPanel
*arg1
= (wxPanel
*) 0 ;
3854 wxWindow
*arg2
= (wxWindow
*) 0 ;
3855 int arg3
= (int) (int)-1 ;
3856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3858 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3859 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3860 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3861 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3862 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3874 bool temp7
= false ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3877 PyObject
* obj2
= 0 ;
3878 PyObject
* obj3
= 0 ;
3879 PyObject
* obj4
= 0 ;
3880 PyObject
* obj5
= 0 ;
3881 PyObject
* obj6
= 0 ;
3882 char * kwnames
[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3888 if (!SWIG_IsOK(res1
)) {
3889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3891 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3893 if (!SWIG_IsOK(res2
)) {
3894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3896 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3899 if (!SWIG_IsOK(ecode3
)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3902 arg3
= static_cast< int >(val3
);
3907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3917 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3918 if (!SWIG_IsOK(ecode6
)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3921 arg6
= static_cast< long >(val6
);
3925 arg7
= wxString_in_helper(obj6
);
3926 if (arg7
== NULL
) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3953 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3954 PyObject
*resultobj
= 0;
3955 wxPanel
*arg1
= (wxPanel
*) 0 ;
3958 PyObject
*swig_obj
[1] ;
3960 if (!args
) SWIG_fail
;
3962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3963 if (!SWIG_IsOK(res1
)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3966 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 (arg1
)->SetFocusIgnoringChildren();
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= SWIG_Py_Void();
3980 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
= 0;
3982 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3983 SwigValueWrapper
<wxVisualAttributes
> result
;
3986 PyObject
* obj0
= 0 ;
3987 char * kwnames
[] = {
3988 (char *) "variant", NULL
3991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3994 if (!SWIG_IsOK(ecode1
)) {
3995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3997 arg1
= static_cast< wxWindowVariant
>(val1
);
4000 if (!wxPyCheckForApp()) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4013 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4017 return SWIG_Py_Void();
4020 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 return SWIG_Python_InitShadowInstance(args
);
4024 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
= 0;
4026 wxWindow
*arg1
= (wxWindow
*) 0 ;
4027 int arg2
= (int) (int)-1 ;
4028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4032 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4033 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4034 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4035 wxScrolledWindow
*result
= 0 ;
4044 bool temp6
= false ;
4045 PyObject
* obj0
= 0 ;
4046 PyObject
* obj1
= 0 ;
4047 PyObject
* obj2
= 0 ;
4048 PyObject
* obj3
= 0 ;
4049 PyObject
* obj4
= 0 ;
4050 PyObject
* obj5
= 0 ;
4051 char * kwnames
[] = {
4052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4063 if (!SWIG_IsOK(ecode2
)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4066 arg2
= static_cast< int >(val2
);
4071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4081 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4082 if (!SWIG_IsOK(ecode5
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4085 arg5
= static_cast< long >(val5
);
4089 arg6
= wxString_in_helper(obj5
);
4090 if (arg6
== NULL
) SWIG_fail
;
4095 if (!wxPyCheckForApp()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4116 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4117 PyObject
*resultobj
= 0;
4118 wxScrolledWindow
*result
= 0 ;
4120 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4122 if (!wxPyCheckForApp()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4135 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
= 0;
4137 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4138 wxWindow
*arg2
= (wxWindow
*) 0 ;
4139 int arg3
= (int) (int)-1 ;
4140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4144 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4145 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4158 bool temp7
= false ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4161 PyObject
* obj2
= 0 ;
4162 PyObject
* obj3
= 0 ;
4163 PyObject
* obj4
= 0 ;
4164 PyObject
* obj5
= 0 ;
4165 PyObject
* obj6
= 0 ;
4166 char * kwnames
[] = {
4167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4172 if (!SWIG_IsOK(res1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4175 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4177 if (!SWIG_IsOK(res2
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4183 if (!SWIG_IsOK(ecode3
)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4186 arg3
= static_cast< int >(val3
);
4191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4201 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4202 if (!SWIG_IsOK(ecode6
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4205 arg6
= static_cast< long >(val6
);
4209 arg7
= wxString_in_helper(obj6
);
4210 if (arg7
== NULL
) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4237 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4244 int arg6
= (int) 0 ;
4245 int arg7
= (int) 0 ;
4246 bool arg8
= (bool) false ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4265 PyObject
* obj2
= 0 ;
4266 PyObject
* obj3
= 0 ;
4267 PyObject
* obj4
= 0 ;
4268 PyObject
* obj5
= 0 ;
4269 PyObject
* obj6
= 0 ;
4270 PyObject
* obj7
= 0 ;
4271 char * kwnames
[] = {
4272 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4280 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4282 if (!SWIG_IsOK(ecode2
)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4285 arg2
= static_cast< int >(val2
);
4286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4287 if (!SWIG_IsOK(ecode3
)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4290 arg3
= static_cast< int >(val3
);
4291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4292 if (!SWIG_IsOK(ecode4
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4295 arg4
= static_cast< int >(val4
);
4296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4297 if (!SWIG_IsOK(ecode5
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4300 arg5
= static_cast< int >(val5
);
4302 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4303 if (!SWIG_IsOK(ecode6
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4306 arg6
= static_cast< int >(val6
);
4309 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4310 if (!SWIG_IsOK(ecode7
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4313 arg7
= static_cast< int >(val7
);
4316 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4317 if (!SWIG_IsOK(ecode8
)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4320 arg8
= static_cast< bool >(val8
);
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_Py_Void();
4335 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
= 0;
4337 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4348 PyObject
* obj2
= 0 ;
4349 char * kwnames
[] = {
4350 (char *) "self",(char *) "x",(char *) "y", NULL
4353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4355 if (!SWIG_IsOK(res1
)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4358 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4360 if (!SWIG_IsOK(ecode2
)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4363 arg2
= static_cast< int >(val2
);
4364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4365 if (!SWIG_IsOK(ecode3
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4368 arg3
= static_cast< int >(val3
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->Scroll(arg2
,arg3
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4382 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 char * kwnames
[] = {
4394 (char *) "self",(char *) "orient", NULL
4397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4402 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4404 if (!SWIG_IsOK(ecode2
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4407 arg2
= static_cast< int >(val2
);
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_From_int(static_cast< int >(result
));
4421 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4435 char * kwnames
[] = {
4436 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4444 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4446 if (!SWIG_IsOK(ecode2
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4449 arg2
= static_cast< int >(val2
);
4450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4451 if (!SWIG_IsOK(ecode3
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4454 arg3
= static_cast< int >(val3
);
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_Py_Void();
4468 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
= 0;
4470 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 PyObject
* obj2
= 0 ;
4482 char * kwnames
[] = {
4483 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4488 if (!SWIG_IsOK(res1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4491 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4493 if (!SWIG_IsOK(ecode2
)) {
4494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4496 arg2
= static_cast< int >(val2
);
4497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4498 if (!SWIG_IsOK(ecode3
)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4501 arg3
= static_cast< int >(val3
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 (arg1
)->SetScrollRate(arg2
,arg3
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_Py_Void();
4515 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4516 PyObject
*resultobj
= 0;
4517 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4518 int *arg2
= (int *) 0 ;
4519 int *arg3
= (int *) 0 ;
4523 int res2
= SWIG_TMPOBJ
;
4525 int res3
= SWIG_TMPOBJ
;
4526 PyObject
*swig_obj
[1] ;
4530 if (!args
) SWIG_fail
;
4532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4533 if (!SWIG_IsOK(res1
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4536 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4544 if (SWIG_IsTmpObj(res2
)) {
4545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4550 if (SWIG_IsTmpObj(res3
)) {
4551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4562 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4575 PyObject
* obj2
= 0 ;
4576 char * kwnames
[] = {
4577 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4582 if (!SWIG_IsOK(res1
)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4585 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4586 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4587 if (!SWIG_IsOK(ecode2
)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4590 arg2
= static_cast< bool >(val2
);
4591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4592 if (!SWIG_IsOK(ecode3
)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4595 arg3
= static_cast< bool >(val3
);
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 (arg1
)->EnableScrolling(arg2
,arg3
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_Py_Void();
4609 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4610 PyObject
*resultobj
= 0;
4611 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4612 int *arg2
= (int *) 0 ;
4613 int *arg3
= (int *) 0 ;
4617 int res2
= SWIG_TMPOBJ
;
4619 int res3
= SWIG_TMPOBJ
;
4620 PyObject
*swig_obj
[1] ;
4624 if (!args
) SWIG_fail
;
4626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4627 if (!SWIG_IsOK(res1
)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4630 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_Py_Void();
4638 if (SWIG_IsTmpObj(res2
)) {
4639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4641 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4644 if (SWIG_IsTmpObj(res3
)) {
4645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4647 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4656 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
= 0;
4658 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 char * kwnames
[] = {
4671 (char *) "self",(char *) "xs",(char *) "ys", NULL
4674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4676 if (!SWIG_IsOK(res1
)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4679 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4680 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4681 if (!SWIG_IsOK(ecode2
)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4684 arg2
= static_cast< double >(val2
);
4685 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4686 if (!SWIG_IsOK(ecode3
)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4689 arg3
= static_cast< double >(val3
);
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->SetScale(arg2
,arg3
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_Py_Void();
4703 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 PyObject
*resultobj
= 0;
4705 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4709 PyObject
*swig_obj
[1] ;
4711 if (!args
) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4717 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_From_double(static_cast< double >(result
));
4731 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4745 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_From_double(static_cast< double >(result
));
4759 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4760 PyObject
*resultobj
= 0;
4761 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4768 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4773 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4776 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4791 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4792 PyObject
*resultobj
= 0;
4793 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4796 int *arg4
= (int *) 0 ;
4797 int *arg5
= (int *) 0 ;
4805 int res4
= SWIG_TMPOBJ
;
4807 int res5
= SWIG_TMPOBJ
;
4811 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4813 if (!SWIG_IsOK(res1
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4816 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4817 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4818 if (!SWIG_IsOK(ecode2
)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4821 arg2
= static_cast< int >(val2
);
4822 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4823 if (!SWIG_IsOK(ecode3
)) {
4824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4826 arg3
= static_cast< int >(val3
);
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_Py_Void();
4834 if (SWIG_IsTmpObj(res4
)) {
4835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4837 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4840 if (SWIG_IsTmpObj(res5
)) {
4841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4843 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4852 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4856 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4859 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4862 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4866 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4871 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4872 PyObject
*resultobj
= 0;
4873 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4880 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4885 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4888 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4903 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4904 PyObject
*resultobj
= 0;
4905 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4908 int *arg4
= (int *) 0 ;
4909 int *arg5
= (int *) 0 ;
4917 int res4
= SWIG_TMPOBJ
;
4919 int res5
= SWIG_TMPOBJ
;
4923 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4925 if (!SWIG_IsOK(res1
)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4928 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4929 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4930 if (!SWIG_IsOK(ecode2
)) {
4931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4933 arg2
= static_cast< int >(val2
);
4934 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4935 if (!SWIG_IsOK(ecode3
)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4938 arg3
= static_cast< int >(val3
);
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_Py_Void();
4946 if (SWIG_IsTmpObj(res4
)) {
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4952 if (SWIG_IsTmpObj(res5
)) {
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4955 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4964 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4968 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4971 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4974 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4978 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4983 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4984 PyObject
*resultobj
= 0;
4985 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4988 PyObject
*swig_obj
[1] ;
4990 if (!args
) SWIG_fail
;
4992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4993 if (!SWIG_IsOK(res1
)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4996 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 (arg1
)->AdjustScrollbars();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= SWIG_Py_Void();
5010 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
= 0;
5012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5013 wxScrollWinEvent
*arg2
= 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 char * kwnames
[] = {
5022 (char *) "self",(char *) "event", NULL
5025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5032 if (!SWIG_IsOK(res2
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5038 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_From_int(static_cast< int >(result
));
5052 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
= 0;
5054 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5055 wxWindow
*arg2
= (wxWindow
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5062 char * kwnames
[] = {
5063 (char *) "self",(char *) "target", NULL
5066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5068 if (!SWIG_IsOK(res1
)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5071 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5073 if (!SWIG_IsOK(res2
)) {
5074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->SetTargetWindow(arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_Py_Void();
5090 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5091 PyObject
*resultobj
= 0;
5092 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5093 wxWindow
*result
= 0 ;
5096 PyObject
*swig_obj
[1] ;
5098 if (!args
) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5104 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= wxPyMake_wxObject(result
, 0);
5120 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= 0;
5122 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5129 char * kwnames
[] = {
5130 (char *) "self",(char *) "rect", NULL
5133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5138 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5141 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_Py_Void();
5156 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5162 PyObject
*swig_obj
[1] ;
5164 if (!args
) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5170 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5184 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
= 0;
5186 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5194 char * kwnames
[] = {
5195 (char *) "self",(char *) "dc", NULL
5198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5203 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5205 if (!SWIG_IsOK(res2
)) {
5206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5211 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 (arg1
)->DoPrepareDC(*arg2
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= SWIG_Py_Void();
5225 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
= 0;
5227 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5228 SwigValueWrapper
<wxVisualAttributes
> result
;
5231 PyObject
* obj0
= 0 ;
5232 char * kwnames
[] = {
5233 (char *) "variant", NULL
5236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5238 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5239 if (!SWIG_IsOK(ecode1
)) {
5240 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5242 arg1
= static_cast< wxWindowVariant
>(val1
);
5245 if (!wxPyCheckForApp()) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5258 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5261 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5262 return SWIG_Py_Void();
5265 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5266 return SWIG_Python_InitShadowInstance(args
);
5269 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5270 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5275 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5276 PyObject
*pyobj
= 0;
5280 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5282 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5289 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5290 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5295 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5296 PyObject
*pyobj
= 0;
5300 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5302 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5309 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5310 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5315 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5316 PyObject
*pyobj
= 0;
5320 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5322 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5329 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5330 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5335 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5336 PyObject
*pyobj
= 0;
5340 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5342 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5349 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= 0;
5351 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5352 bool arg2
= (bool) true ;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5359 char * kwnames
[] = {
5360 (char *) "self",(char *) "maximize", NULL
5363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5365 if (!SWIG_IsOK(res1
)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5368 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5371 if (!SWIG_IsOK(ecode2
)) {
5372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5374 arg2
= static_cast< bool >(val2
);
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->Maximize(arg2
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_Py_Void();
5389 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5391 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5394 PyObject
*swig_obj
[1] ;
5396 if (!args
) SWIG_fail
;
5398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5399 if (!SWIG_IsOK(res1
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5402 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
= 0;
5418 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5419 bool arg2
= (bool) true ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "self",(char *) "iconize", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5432 if (!SWIG_IsOK(res1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5435 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5437 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5438 if (!SWIG_IsOK(ecode2
)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5441 arg2
= static_cast< bool >(val2
);
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->Iconize(arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= SWIG_Py_Void();
5456 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5457 PyObject
*resultobj
= 0;
5458 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5462 PyObject
*swig_obj
[1] ;
5464 if (!args
) SWIG_fail
;
5466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5467 if (!SWIG_IsOK(res1
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5470 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5486 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5487 PyObject
*resultobj
= 0;
5488 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5492 PyObject
*swig_obj
[1] ;
5494 if (!args
) SWIG_fail
;
5496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5497 if (!SWIG_IsOK(res1
)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5500 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5516 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5517 PyObject
*resultobj
= 0;
5518 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5522 PyObject
*swig_obj
[1] ;
5524 if (!args
) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5530 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5546 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5547 PyObject
*resultobj
= 0;
5548 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5552 PyObject
*swig_obj
[1] ;
5554 if (!args
) SWIG_fail
;
5556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5557 if (!SWIG_IsOK(res1
)) {
5558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5560 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5574 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
= 0;
5576 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5584 char * kwnames
[] = {
5585 (char *) "self",(char *) "icon", NULL
5588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5593 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5595 if (!SWIG_IsOK(res2
)) {
5596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5601 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_Py_Void();
5615 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
= 0;
5617 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5618 wxIconBundle
*arg2
= 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5625 char * kwnames
[] = {
5626 (char *) "self",(char *) "icons", NULL
5629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5631 if (!SWIG_IsOK(res1
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5634 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5636 if (!SWIG_IsOK(res2
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5642 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_Py_Void();
5656 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5660 long arg3
= (long) wxFULLSCREEN_ALL
;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5670 PyObject
* obj2
= 0 ;
5671 char * kwnames
[] = {
5672 (char *) "self",(char *) "show",(char *) "style", NULL
5675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5677 if (!SWIG_IsOK(res1
)) {
5678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5680 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5682 if (!SWIG_IsOK(ecode2
)) {
5683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5685 arg2
= static_cast< bool >(val2
);
5687 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5688 if (!SWIG_IsOK(ecode3
)) {
5689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5691 arg3
= static_cast< long >(val3
);
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5708 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5709 PyObject
*resultobj
= 0;
5710 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5714 PyObject
*swig_obj
[1] ;
5716 if (!args
) SWIG_fail
;
5718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5719 if (!SWIG_IsOK(res1
)) {
5720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5722 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5738 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
= 0;
5740 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5741 wxString
*arg2
= 0 ;
5744 bool temp2
= false ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5747 char * kwnames
[] = {
5748 (char *) "self",(char *) "title", NULL
5751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5753 if (!SWIG_IsOK(res1
)) {
5754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5756 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5758 arg2
= wxString_in_helper(obj1
);
5759 if (arg2
== NULL
) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 (arg1
)->SetTitle((wxString
const &)*arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_Py_Void();
5783 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5784 PyObject
*resultobj
= 0;
5785 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5789 PyObject
*swig_obj
[1] ;
5791 if (!args
) SWIG_fail
;
5793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5794 if (!SWIG_IsOK(res1
)) {
5795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5797 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5817 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
= 0;
5819 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5820 wxRegion
*arg2
= 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 char * kwnames
[] = {
5829 (char *) "self",(char *) "region", NULL
5832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5834 if (!SWIG_IsOK(res1
)) {
5835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5837 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5839 if (!SWIG_IsOK(res2
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5845 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5861 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
= 0;
5863 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5864 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 char * kwnames
[] = {
5872 (char *) "self",(char *) "flags", NULL
5875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5877 if (!SWIG_IsOK(res1
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5880 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5883 if (!SWIG_IsOK(ecode2
)) {
5884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5886 arg2
= static_cast< int >(val2
);
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 (arg1
)->RequestUserAttention(arg2
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_Py_Void();
5901 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5902 PyObject
*resultobj
= 0;
5903 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5907 PyObject
*swig_obj
[1] ;
5909 if (!args
) SWIG_fail
;
5911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5912 if (!SWIG_IsOK(res1
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5915 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 result
= (bool)(arg1
)->IsActive();
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5931 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
= 0;
5933 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5941 char * kwnames
[] = {
5942 (char *) "self",(char *) "on", NULL
5945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5947 if (!SWIG_IsOK(res1
)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5950 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5951 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5952 if (!SWIG_IsOK(ecode2
)) {
5953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5955 arg2
= static_cast< bool >(val2
);
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= SWIG_Py_Void();
5969 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5970 PyObject
*resultobj
= 0;
5971 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5975 PyObject
*swig_obj
[1] ;
5977 if (!args
) SWIG_fail
;
5979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5980 if (!SWIG_IsOK(res1
)) {
5981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5983 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5999 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
= 0;
6001 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6002 int arg2
= (int) wxBOTH
;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 char * kwnames
[] = {
6010 (char *) "self",(char *) "dir", NULL
6013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6015 if (!SWIG_IsOK(res1
)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6018 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6021 if (!SWIG_IsOK(ecode2
)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6024 arg2
= static_cast< int >(val2
);
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 (arg1
)->CenterOnScreen(arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_Py_Void();
6039 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6042 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6043 return SWIG_Py_Void();
6046 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
= 0;
6048 wxWindow
*arg1
= (wxWindow
*) 0 ;
6049 int arg2
= (int) (int)-1 ;
6050 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6056 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6057 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6059 wxFrame
*result
= 0 ;
6064 bool temp3
= false ;
6069 bool temp7
= false ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6072 PyObject
* obj2
= 0 ;
6073 PyObject
* obj3
= 0 ;
6074 PyObject
* obj4
= 0 ;
6075 PyObject
* obj5
= 0 ;
6076 PyObject
* obj6
= 0 ;
6077 char * kwnames
[] = {
6078 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6089 if (!SWIG_IsOK(ecode2
)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6092 arg2
= static_cast< int >(val2
);
6096 arg3
= wxString_in_helper(obj2
);
6097 if (arg3
== NULL
) SWIG_fail
;
6104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6114 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6115 if (!SWIG_IsOK(ecode6
)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6118 arg6
= static_cast< long >(val6
);
6122 arg7
= wxString_in_helper(obj6
);
6123 if (arg7
== NULL
) SWIG_fail
;
6128 if (!wxPyCheckForApp()) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6157 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6158 PyObject
*resultobj
= 0;
6159 wxFrame
*result
= 0 ;
6161 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6163 if (!wxPyCheckForApp()) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (wxFrame
*)new wxFrame();
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6176 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
= 0;
6178 wxFrame
*arg1
= (wxFrame
*) 0 ;
6179 wxWindow
*arg2
= (wxWindow
*) 0 ;
6180 int arg3
= (int) (int)-1 ;
6181 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6187 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6188 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6189 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6197 bool temp4
= false ;
6202 bool temp8
= false ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6206 PyObject
* obj3
= 0 ;
6207 PyObject
* obj4
= 0 ;
6208 PyObject
* obj5
= 0 ;
6209 PyObject
* obj6
= 0 ;
6210 PyObject
* obj7
= 0 ;
6211 char * kwnames
[] = {
6212 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6217 if (!SWIG_IsOK(res1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6220 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6222 if (!SWIG_IsOK(res2
)) {
6223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6225 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6228 if (!SWIG_IsOK(ecode3
)) {
6229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6231 arg3
= static_cast< int >(val3
);
6235 arg4
= wxString_in_helper(obj3
);
6236 if (arg4
== NULL
) SWIG_fail
;
6243 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6249 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6253 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6254 if (!SWIG_IsOK(ecode7
)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6257 arg7
= static_cast< long >(val7
);
6261 arg8
= wxString_in_helper(obj7
);
6262 if (arg8
== NULL
) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6297 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6298 PyObject
*resultobj
= 0;
6299 wxFrame
*arg1
= (wxFrame
*) 0 ;
6302 PyObject
*swig_obj
[1] ;
6304 if (!args
) SWIG_fail
;
6306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6307 if (!SWIG_IsOK(res1
)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6310 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 (arg1
)->SendSizeEvent();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_Py_Void();
6324 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= 0;
6326 wxFrame
*arg1
= (wxFrame
*) 0 ;
6327 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 char * kwnames
[] = {
6335 (char *) "self",(char *) "menubar", NULL
6338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6340 if (!SWIG_IsOK(res1
)) {
6341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6343 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6345 if (!SWIG_IsOK(res2
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6348 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 (arg1
)->SetMenuBar(arg2
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_Py_Void();
6362 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6363 PyObject
*resultobj
= 0;
6364 wxFrame
*arg1
= (wxFrame
*) 0 ;
6365 wxMenuBar
*result
= 0 ;
6368 PyObject
*swig_obj
[1] ;
6370 if (!args
) SWIG_fail
;
6372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6373 if (!SWIG_IsOK(res1
)) {
6374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6376 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= wxPyMake_wxObject(result
, 0);
6392 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
= 0;
6394 wxFrame
*arg1
= (wxFrame
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6403 char * kwnames
[] = {
6404 (char *) "self",(char *) "winid", NULL
6407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6412 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6414 if (!SWIG_IsOK(ecode2
)) {
6415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6417 arg2
= static_cast< int >(val2
);
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6433 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
= 0;
6435 wxFrame
*arg1
= (wxFrame
*) 0 ;
6436 int arg2
= (int) 1 ;
6437 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6438 int arg4
= (int) 0 ;
6439 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6440 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6441 wxStatusBar
*result
= 0 ;
6450 bool temp5
= false ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6453 PyObject
* obj2
= 0 ;
6454 PyObject
* obj3
= 0 ;
6455 PyObject
* obj4
= 0 ;
6456 char * kwnames
[] = {
6457 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6462 if (!SWIG_IsOK(res1
)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6465 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6468 if (!SWIG_IsOK(ecode2
)) {
6469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6471 arg2
= static_cast< int >(val2
);
6474 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6475 if (!SWIG_IsOK(ecode3
)) {
6476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6478 arg3
= static_cast< long >(val3
);
6481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6482 if (!SWIG_IsOK(ecode4
)) {
6483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6485 arg4
= static_cast< int >(val4
);
6489 arg5
= wxString_in_helper(obj4
);
6490 if (arg5
== NULL
) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6517 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6518 PyObject
*resultobj
= 0;
6519 wxFrame
*arg1
= (wxFrame
*) 0 ;
6520 wxStatusBar
*result
= 0 ;
6523 PyObject
*swig_obj
[1] ;
6525 if (!args
) SWIG_fail
;
6527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6528 if (!SWIG_IsOK(res1
)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6531 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6547 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
= 0;
6549 wxFrame
*arg1
= (wxFrame
*) 0 ;
6550 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6556 PyObject
* obj1
= 0 ;
6557 char * kwnames
[] = {
6558 (char *) "self",(char *) "statBar", NULL
6561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6563 if (!SWIG_IsOK(res1
)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6566 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6568 if (!SWIG_IsOK(res2
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6571 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SetStatusBar(arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
= 0;
6587 wxFrame
*arg1
= (wxFrame
*) 0 ;
6588 wxString
*arg2
= 0 ;
6589 int arg3
= (int) 0 ;
6592 bool temp2
= false ;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6597 PyObject
* obj2
= 0 ;
6598 char * kwnames
[] = {
6599 (char *) "self",(char *) "text",(char *) "number", NULL
6602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6604 if (!SWIG_IsOK(res1
)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6607 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6609 arg2
= wxString_in_helper(obj1
);
6610 if (arg2
== NULL
) SWIG_fail
;
6614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6615 if (!SWIG_IsOK(ecode3
)) {
6616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6618 arg3
= static_cast< int >(val3
);
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_Py_Void();
6641 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
= 0;
6643 wxFrame
*arg1
= (wxFrame
*) 0 ;
6645 int *arg3
= (int *) 0 ;
6648 PyObject
* obj0
= 0 ;
6649 PyObject
* obj1
= 0 ;
6650 char * kwnames
[] = {
6651 (char *) "self",(char *) "widths", NULL
6654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6659 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6661 arg2
= PyList_Size(obj1
);
6662 arg3
= int_LIST_helper(obj1
);
6663 if (arg3
== NULL
) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= SWIG_Py_Void();
6673 if (arg3
) delete [] arg3
;
6678 if (arg3
) delete [] arg3
;
6684 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
= 0;
6686 wxFrame
*arg1
= (wxFrame
*) 0 ;
6687 wxString
*arg2
= 0 ;
6688 int arg3
= (int) 0 ;
6691 bool temp2
= false ;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6697 char * kwnames
[] = {
6698 (char *) "self",(char *) "text",(char *) "number", NULL
6701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6703 if (!SWIG_IsOK(res1
)) {
6704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6706 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6708 arg2
= wxString_in_helper(obj1
);
6709 if (arg2
== NULL
) SWIG_fail
;
6713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6714 if (!SWIG_IsOK(ecode3
)) {
6715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6717 arg3
= static_cast< int >(val3
);
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_Py_Void();
6740 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
= 0;
6742 wxFrame
*arg1
= (wxFrame
*) 0 ;
6743 int arg2
= (int) 0 ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 char * kwnames
[] = {
6751 (char *) "self",(char *) "number", NULL
6754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6756 if (!SWIG_IsOK(res1
)) {
6757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6759 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6762 if (!SWIG_IsOK(ecode2
)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6765 arg2
= static_cast< int >(val2
);
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 (arg1
)->PopStatusText(arg2
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= SWIG_Py_Void();
6780 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
= 0;
6782 wxFrame
*arg1
= (wxFrame
*) 0 ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "self",(char *) "n", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6799 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6801 if (!SWIG_IsOK(ecode2
)) {
6802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6804 arg2
= static_cast< int >(val2
);
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 (arg1
)->SetStatusBarPane(arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= SWIG_Py_Void();
6818 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6819 PyObject
*resultobj
= 0;
6820 wxFrame
*arg1
= (wxFrame
*) 0 ;
6824 PyObject
*swig_obj
[1] ;
6826 if (!args
) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6832 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_From_int(static_cast< int >(result
));
6846 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
= 0;
6848 wxFrame
*arg1
= (wxFrame
*) 0 ;
6849 long arg2
= (long) -1 ;
6850 int arg3
= (int) -1 ;
6851 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6852 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6853 wxToolBar
*result
= 0 ;
6860 bool temp4
= false ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6863 PyObject
* obj2
= 0 ;
6864 PyObject
* obj3
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6874 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6876 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6877 if (!SWIG_IsOK(ecode2
)) {
6878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6880 arg2
= static_cast< long >(val2
);
6883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6884 if (!SWIG_IsOK(ecode3
)) {
6885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6887 arg3
= static_cast< int >(val3
);
6891 arg4
= wxString_in_helper(obj3
);
6892 if (arg4
== NULL
) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6919 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6920 PyObject
*resultobj
= 0;
6921 wxFrame
*arg1
= (wxFrame
*) 0 ;
6922 wxToolBar
*result
= 0 ;
6925 PyObject
*swig_obj
[1] ;
6927 if (!args
) SWIG_fail
;
6929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6930 if (!SWIG_IsOK(res1
)) {
6931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6933 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6949 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
= 0;
6951 wxFrame
*arg1
= (wxFrame
*) 0 ;
6952 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6957 PyObject
* obj0
= 0 ;
6958 PyObject
* obj1
= 0 ;
6959 char * kwnames
[] = {
6960 (char *) "self",(char *) "toolbar", NULL
6963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6965 if (!SWIG_IsOK(res1
)) {
6966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6968 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6970 if (!SWIG_IsOK(res2
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6973 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 (arg1
)->SetToolBar(arg2
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_Py_Void();
6987 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
= 0;
6989 wxFrame
*arg1
= (wxFrame
*) 0 ;
6990 wxString
*arg2
= 0 ;
6994 bool temp2
= false ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
6999 PyObject
* obj2
= 0 ;
7000 char * kwnames
[] = {
7001 (char *) "self",(char *) "text",(char *) "show", NULL
7004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7009 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7011 arg2
= wxString_in_helper(obj1
);
7012 if (arg2
== NULL
) SWIG_fail
;
7015 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7016 if (!SWIG_IsOK(ecode3
)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7019 arg3
= static_cast< bool >(val3
);
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_Py_Void();
7041 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7043 wxFrame
*arg1
= (wxFrame
*) 0 ;
7044 wxMenu
*arg2
= (wxMenu
*) NULL
;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 char * kwnames
[] = {
7052 (char *) "self",(char *) "menu", NULL
7055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7060 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7063 if (!SWIG_IsOK(res2
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7066 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 (arg1
)->DoMenuUpdates(arg2
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_Py_Void();
7081 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
= 0;
7083 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7084 SwigValueWrapper
<wxVisualAttributes
> result
;
7087 PyObject
* obj0
= 0 ;
7088 char * kwnames
[] = {
7089 (char *) "variant", NULL
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7095 if (!SWIG_IsOK(ecode1
)) {
7096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7098 arg1
= static_cast< wxWindowVariant
>(val1
);
7101 if (!wxPyCheckForApp()) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7114 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7117 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7118 return SWIG_Py_Void();
7121 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 return SWIG_Python_InitShadowInstance(args
);
7125 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
= 0;
7127 wxWindow
*arg1
= (wxWindow
*) 0 ;
7128 int arg2
= (int) (int)-1 ;
7129 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7130 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7135 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7136 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7137 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7138 wxDialog
*result
= 0 ;
7143 bool temp3
= false ;
7148 bool temp7
= false ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 PyObject
* obj2
= 0 ;
7152 PyObject
* obj3
= 0 ;
7153 PyObject
* obj4
= 0 ;
7154 PyObject
* obj5
= 0 ;
7155 PyObject
* obj6
= 0 ;
7156 char * kwnames
[] = {
7157 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7168 if (!SWIG_IsOK(ecode2
)) {
7169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7171 arg2
= static_cast< int >(val2
);
7175 arg3
= wxString_in_helper(obj2
);
7176 if (arg3
== NULL
) SWIG_fail
;
7183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7193 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7194 if (!SWIG_IsOK(ecode6
)) {
7195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7197 arg6
= static_cast< long >(val6
);
7201 arg7
= wxString_in_helper(obj6
);
7202 if (arg7
== NULL
) SWIG_fail
;
7207 if (!wxPyCheckForApp()) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7236 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7237 PyObject
*resultobj
= 0;
7238 wxDialog
*result
= 0 ;
7240 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7242 if (!wxPyCheckForApp()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (wxDialog
*)new wxDialog();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= 0;
7257 wxDialog
*arg1
= (wxDialog
*) 0 ;
7258 wxWindow
*arg2
= (wxWindow
*) 0 ;
7259 int arg3
= (int) (int)-1 ;
7260 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7261 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7262 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7263 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7264 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7265 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7266 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7267 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7268 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7276 bool temp4
= false ;
7281 bool temp8
= false ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 PyObject
* obj2
= 0 ;
7285 PyObject
* obj3
= 0 ;
7286 PyObject
* obj4
= 0 ;
7287 PyObject
* obj5
= 0 ;
7288 PyObject
* obj6
= 0 ;
7289 PyObject
* obj7
= 0 ;
7290 char * kwnames
[] = {
7291 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7299 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7301 if (!SWIG_IsOK(res2
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7307 if (!SWIG_IsOK(ecode3
)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7310 arg3
= static_cast< int >(val3
);
7314 arg4
= wxString_in_helper(obj3
);
7315 if (arg4
== NULL
) SWIG_fail
;
7322 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7328 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7332 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7333 if (!SWIG_IsOK(ecode7
)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7336 arg7
= static_cast< long >(val7
);
7340 arg8
= wxString_in_helper(obj7
);
7341 if (arg8
== NULL
) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7376 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
= 0;
7378 wxDialog
*arg1
= (wxDialog
*) 0 ;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7386 char * kwnames
[] = {
7387 (char *) "self",(char *) "returnCode", NULL
7390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7392 if (!SWIG_IsOK(res1
)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7395 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7397 if (!SWIG_IsOK(ecode2
)) {
7398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7400 arg2
= static_cast< int >(val2
);
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 (arg1
)->SetReturnCode(arg2
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_Py_Void();
7414 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7415 PyObject
*resultobj
= 0;
7416 wxDialog
*arg1
= (wxDialog
*) 0 ;
7420 PyObject
*swig_obj
[1] ;
7422 if (!args
) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7428 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_From_int(static_cast< int >(result
));
7442 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxDialog
*arg1
= (wxDialog
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7452 char * kwnames
[] = {
7453 (char *) "self",(char *) "affirmativeId", NULL
7456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7458 if (!SWIG_IsOK(res1
)) {
7459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7461 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7463 if (!SWIG_IsOK(ecode2
)) {
7464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7466 arg2
= static_cast< int >(val2
);
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 (arg1
)->SetAffirmativeId(arg2
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= SWIG_Py_Void();
7480 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7481 PyObject
*resultobj
= 0;
7482 wxDialog
*arg1
= (wxDialog
*) 0 ;
7486 PyObject
*swig_obj
[1] ;
7488 if (!args
) SWIG_fail
;
7490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7491 if (!SWIG_IsOK(res1
)) {
7492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7494 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_From_int(static_cast< int >(result
));
7508 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
= 0;
7510 wxDialog
*arg1
= (wxDialog
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7518 char * kwnames
[] = {
7519 (char *) "self",(char *) "escapeId", NULL
7522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7524 if (!SWIG_IsOK(res1
)) {
7525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7527 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7529 if (!SWIG_IsOK(ecode2
)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7532 arg2
= static_cast< int >(val2
);
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 (arg1
)->SetEscapeId(arg2
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_Py_Void();
7546 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7547 PyObject
*resultobj
= 0;
7548 wxDialog
*arg1
= (wxDialog
*) 0 ;
7552 PyObject
*swig_obj
[1] ;
7554 if (!args
) SWIG_fail
;
7556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7557 if (!SWIG_IsOK(res1
)) {
7558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7560 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_From_int(static_cast< int >(result
));
7574 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
= 0;
7576 wxDialog
*arg1
= (wxDialog
*) 0 ;
7577 wxString
*arg2
= 0 ;
7578 wxSizer
*result
= 0 ;
7581 bool temp2
= false ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 char * kwnames
[] = {
7585 (char *) "self",(char *) "message", NULL
7588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7590 if (!SWIG_IsOK(res1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7595 arg2
= wxString_in_helper(obj1
);
7596 if (arg2
== NULL
) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7622 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
= 0;
7624 wxDialog
*arg1
= (wxDialog
*) 0 ;
7626 bool arg3
= (bool) false ;
7627 int arg4
= (int) 0 ;
7628 wxSizer
*result
= 0 ;
7637 PyObject
* obj0
= 0 ;
7638 PyObject
* obj1
= 0 ;
7639 PyObject
* obj2
= 0 ;
7640 PyObject
* obj3
= 0 ;
7641 char * kwnames
[] = {
7642 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7647 if (!SWIG_IsOK(res1
)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7651 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7652 if (!SWIG_IsOK(ecode2
)) {
7653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7655 arg2
= static_cast< long >(val2
);
7657 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7658 if (!SWIG_IsOK(ecode3
)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7661 arg3
= static_cast< bool >(val3
);
7664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7665 if (!SWIG_IsOK(ecode4
)) {
7666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7668 arg4
= static_cast< int >(val4
);
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7685 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
= 0;
7687 wxDialog
*arg1
= (wxDialog
*) 0 ;
7689 wxStdDialogButtonSizer
*result
= 0 ;
7694 PyObject
* obj0
= 0 ;
7695 PyObject
* obj1
= 0 ;
7696 char * kwnames
[] = {
7697 (char *) "self",(char *) "flags", NULL
7700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7702 if (!SWIG_IsOK(res1
)) {
7703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7705 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7706 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7707 if (!SWIG_IsOK(ecode2
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7710 arg2
= static_cast< long >(val2
);
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7724 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7725 PyObject
*resultobj
= 0;
7726 wxDialog
*arg1
= (wxDialog
*) 0 ;
7730 PyObject
*swig_obj
[1] ;
7732 if (!args
) SWIG_fail
;
7734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7735 if (!SWIG_IsOK(res1
)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7738 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7754 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7755 PyObject
*resultobj
= 0;
7756 wxDialog
*arg1
= (wxDialog
*) 0 ;
7760 PyObject
*swig_obj
[1] ;
7762 if (!args
) SWIG_fail
;
7764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7765 if (!SWIG_IsOK(res1
)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7768 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (int)(arg1
)->ShowModal();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_From_int(static_cast< int >(result
));
7782 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
= 0;
7784 wxDialog
*arg1
= (wxDialog
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7792 char * kwnames
[] = {
7793 (char *) "self",(char *) "retCode", NULL
7796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7798 if (!SWIG_IsOK(res1
)) {
7799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7801 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7803 if (!SWIG_IsOK(ecode2
)) {
7804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7806 arg2
= static_cast< int >(val2
);
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 (arg1
)->EndModal(arg2
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_Py_Void();
7820 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7823 SwigValueWrapper
<wxVisualAttributes
> result
;
7826 PyObject
* obj0
= 0 ;
7827 char * kwnames
[] = {
7828 (char *) "variant", NULL
7831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7833 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7834 if (!SWIG_IsOK(ecode1
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7837 arg1
= static_cast< wxWindowVariant
>(val1
);
7840 if (!wxPyCheckForApp()) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7853 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7856 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7857 return SWIG_Py_Void();
7860 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7861 return SWIG_Python_InitShadowInstance(args
);
7864 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
= 0;
7866 wxWindow
*arg1
= (wxWindow
*) 0 ;
7867 int arg2
= (int) (int)-1 ;
7868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7874 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7875 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7877 wxMiniFrame
*result
= 0 ;
7882 bool temp3
= false ;
7887 bool temp7
= false ;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7890 PyObject
* obj2
= 0 ;
7891 PyObject
* obj3
= 0 ;
7892 PyObject
* obj4
= 0 ;
7893 PyObject
* obj5
= 0 ;
7894 PyObject
* obj6
= 0 ;
7895 char * kwnames
[] = {
7896 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7907 if (!SWIG_IsOK(ecode2
)) {
7908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7910 arg2
= static_cast< int >(val2
);
7914 arg3
= wxString_in_helper(obj2
);
7915 if (arg3
== NULL
) SWIG_fail
;
7922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7932 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7933 if (!SWIG_IsOK(ecode6
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7936 arg6
= static_cast< long >(val6
);
7940 arg7
= wxString_in_helper(obj6
);
7941 if (arg7
== NULL
) SWIG_fail
;
7946 if (!wxPyCheckForApp()) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7975 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7976 PyObject
*resultobj
= 0;
7977 wxMiniFrame
*result
= 0 ;
7979 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7981 if (!wxPyCheckForApp()) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (wxMiniFrame
*)new wxMiniFrame();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7994 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7997 wxWindow
*arg2
= (wxWindow
*) 0 ;
7998 int arg3
= (int) (int)-1 ;
7999 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8000 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8001 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8002 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8003 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8004 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8005 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8006 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8007 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8015 bool temp4
= false ;
8020 bool temp8
= false ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8024 PyObject
* obj3
= 0 ;
8025 PyObject
* obj4
= 0 ;
8026 PyObject
* obj5
= 0 ;
8027 PyObject
* obj6
= 0 ;
8028 PyObject
* obj7
= 0 ;
8029 char * kwnames
[] = {
8030 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8035 if (!SWIG_IsOK(res1
)) {
8036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8038 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8040 if (!SWIG_IsOK(res2
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8046 if (!SWIG_IsOK(ecode3
)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8049 arg3
= static_cast< int >(val3
);
8053 arg4
= wxString_in_helper(obj3
);
8054 if (arg4
== NULL
) SWIG_fail
;
8061 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8067 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8071 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8072 if (!SWIG_IsOK(ecode7
)) {
8073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8075 arg7
= static_cast< long >(val7
);
8079 arg8
= wxString_in_helper(obj7
);
8080 if (arg8
== NULL
) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8115 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8118 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8119 return SWIG_Py_Void();
8122 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8123 return SWIG_Python_InitShadowInstance(args
);
8126 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
= 0;
8128 wxBitmap
*arg1
= 0 ;
8129 wxWindow
*arg2
= (wxWindow
*) 0 ;
8131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8135 long arg6
= (long) wxNO_BORDER
;
8136 wxSplashScreenWindow
*result
= 0 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8149 PyObject
* obj2
= 0 ;
8150 PyObject
* obj3
= 0 ;
8151 PyObject
* obj4
= 0 ;
8152 PyObject
* obj5
= 0 ;
8153 char * kwnames
[] = {
8154 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8158 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8159 if (!SWIG_IsOK(res1
)) {
8160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8167 if (!SWIG_IsOK(res2
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8172 if (!SWIG_IsOK(ecode3
)) {
8173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8175 arg3
= static_cast< int >(val3
);
8179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8189 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8190 if (!SWIG_IsOK(ecode6
)) {
8191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8193 arg6
= static_cast< long >(val6
);
8196 if (!wxPyCheckForApp()) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8209 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
= 0;
8211 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8212 wxBitmap
*arg2
= 0 ;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8219 char * kwnames
[] = {
8220 (char *) "self",(char *) "bitmap", NULL
8223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8228 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8230 if (!SWIG_IsOK(res2
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8236 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= SWIG_Py_Void();
8250 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8251 PyObject
*resultobj
= 0;
8252 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8253 wxBitmap
*result
= 0 ;
8256 PyObject
*swig_obj
[1] ;
8258 if (!args
) SWIG_fail
;
8260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8261 if (!SWIG_IsOK(res1
)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8264 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8269 result
= (wxBitmap
*) &_result_ref
;
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 wxBitmap
* resultptr
= new wxBitmap(*result
);
8276 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8284 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8287 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8288 return SWIG_Py_Void();
8291 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8292 return SWIG_Python_InitShadowInstance(args
);
8295 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
= 0;
8297 wxBitmap
*arg1
= 0 ;
8300 wxWindow
*arg4
= (wxWindow
*) 0 ;
8301 int arg5
= (int) -1 ;
8302 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8303 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8304 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8305 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8306 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8307 wxSplashScreen
*result
= 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8324 PyObject
* obj2
= 0 ;
8325 PyObject
* obj3
= 0 ;
8326 PyObject
* obj4
= 0 ;
8327 PyObject
* obj5
= 0 ;
8328 PyObject
* obj6
= 0 ;
8329 PyObject
* obj7
= 0 ;
8330 char * kwnames
[] = {
8331 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8335 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8336 if (!SWIG_IsOK(res1
)) {
8337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8342 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8343 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8344 if (!SWIG_IsOK(ecode2
)) {
8345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8347 arg2
= static_cast< long >(val2
);
8348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8349 if (!SWIG_IsOK(ecode3
)) {
8350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8352 arg3
= static_cast< int >(val3
);
8353 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8354 if (!SWIG_IsOK(res4
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8357 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8359 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8360 if (!SWIG_IsOK(ecode5
)) {
8361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8363 arg5
= static_cast< int >(val5
);
8368 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8374 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8378 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8379 if (!SWIG_IsOK(ecode8
)) {
8380 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8382 arg8
= static_cast< long >(val8
);
8385 if (!wxPyCheckForApp()) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8398 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8399 PyObject
*resultobj
= 0;
8400 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8404 PyObject
*swig_obj
[1] ;
8406 if (!args
) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8412 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= SWIG_From_long(static_cast< long >(result
));
8426 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8427 PyObject
*resultobj
= 0;
8428 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8429 wxSplashScreenWindow
*result
= 0 ;
8432 PyObject
*swig_obj
[1] ;
8434 if (!args
) SWIG_fail
;
8436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8437 if (!SWIG_IsOK(res1
)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8440 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8454 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8455 PyObject
*resultobj
= 0;
8456 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8460 PyObject
*swig_obj
[1] ;
8462 if (!args
) SWIG_fail
;
8464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8465 if (!SWIG_IsOK(res1
)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8468 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_From_int(static_cast< int >(result
));
8482 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8485 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8486 return SWIG_Py_Void();
8489 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8490 return SWIG_Python_InitShadowInstance(args
);
8493 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
= 0;
8495 wxWindow
*arg1
= (wxWindow
*) 0 ;
8496 int arg2
= (int) -1 ;
8497 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8498 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8499 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8500 wxStatusBar
*result
= 0 ;
8507 bool temp4
= false ;
8508 PyObject
* obj0
= 0 ;
8509 PyObject
* obj1
= 0 ;
8510 PyObject
* obj2
= 0 ;
8511 PyObject
* obj3
= 0 ;
8512 char * kwnames
[] = {
8513 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8524 if (!SWIG_IsOK(ecode2
)) {
8525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8527 arg2
= static_cast< int >(val2
);
8530 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8531 if (!SWIG_IsOK(ecode3
)) {
8532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8534 arg3
= static_cast< long >(val3
);
8538 arg4
= wxString_in_helper(obj3
);
8539 if (arg4
== NULL
) SWIG_fail
;
8544 if (!wxPyCheckForApp()) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8565 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8566 PyObject
*resultobj
= 0;
8567 wxStatusBar
*result
= 0 ;
8569 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8571 if (!wxPyCheckForApp()) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= (wxStatusBar
*)new wxStatusBar();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8584 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
= 0;
8586 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8587 wxWindow
*arg2
= (wxWindow
*) 0 ;
8588 int arg3
= (int) -1 ;
8589 long arg4
= (long) wxST_SIZEGRIP
;
8590 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8591 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8601 bool temp5
= false ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8604 PyObject
* obj2
= 0 ;
8605 PyObject
* obj3
= 0 ;
8606 PyObject
* obj4
= 0 ;
8607 char * kwnames
[] = {
8608 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8616 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8618 if (!SWIG_IsOK(res2
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8624 if (!SWIG_IsOK(ecode3
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8627 arg3
= static_cast< int >(val3
);
8630 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8631 if (!SWIG_IsOK(ecode4
)) {
8632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8634 arg4
= static_cast< long >(val4
);
8638 arg5
= wxString_in_helper(obj4
);
8639 if (arg5
== NULL
) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8666 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8669 int arg2
= (int) 1 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "number", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8685 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8688 if (!SWIG_IsOK(ecode2
)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8691 arg2
= static_cast< int >(val2
);
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->SetFieldsCount(arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_Py_Void();
8706 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 PyObject
*resultobj
= 0;
8708 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8712 PyObject
*swig_obj
[1] ;
8714 if (!args
) SWIG_fail
;
8716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8717 if (!SWIG_IsOK(res1
)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8720 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_From_int(static_cast< int >(result
));
8734 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8737 wxString
*arg2
= 0 ;
8738 int arg3
= (int) 0 ;
8741 bool temp2
= false ;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8746 PyObject
* obj2
= 0 ;
8747 char * kwnames
[] = {
8748 (char *) "self",(char *) "text",(char *) "number", NULL
8751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8753 if (!SWIG_IsOK(res1
)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8756 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8758 arg2
= wxString_in_helper(obj1
);
8759 if (arg2
== NULL
) SWIG_fail
;
8763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8764 if (!SWIG_IsOK(ecode3
)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8767 arg3
= static_cast< int >(val3
);
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_Py_Void();
8790 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
= 0;
8792 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8793 int arg2
= (int) 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "self",(char *) "number", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8807 if (!SWIG_IsOK(res1
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8810 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8813 if (!SWIG_IsOK(ecode2
)) {
8814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8816 arg2
= static_cast< int >(val2
);
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8837 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
= 0;
8839 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8840 wxString
*arg2
= 0 ;
8841 int arg3
= (int) 0 ;
8844 bool temp2
= false ;
8847 PyObject
* obj0
= 0 ;
8848 PyObject
* obj1
= 0 ;
8849 PyObject
* obj2
= 0 ;
8850 char * kwnames
[] = {
8851 (char *) "self",(char *) "text",(char *) "number", NULL
8854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8856 if (!SWIG_IsOK(res1
)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8859 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8861 arg2
= wxString_in_helper(obj1
);
8862 if (arg2
== NULL
) SWIG_fail
;
8866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8867 if (!SWIG_IsOK(ecode3
)) {
8868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8870 arg3
= static_cast< int >(val3
);
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_Py_Void();
8893 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
= 0;
8895 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8896 int arg2
= (int) 0 ;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8903 char * kwnames
[] = {
8904 (char *) "self",(char *) "number", NULL
8907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8909 if (!SWIG_IsOK(res1
)) {
8910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8912 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8915 if (!SWIG_IsOK(ecode2
)) {
8916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8918 arg2
= static_cast< int >(val2
);
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->PopStatusText(arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 resultobj
= SWIG_Py_Void();
8933 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
= 0;
8935 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8937 int *arg3
= (int *) 0 ;
8940 PyObject
* obj0
= 0 ;
8941 PyObject
* obj1
= 0 ;
8942 char * kwnames
[] = {
8943 (char *) "self",(char *) "widths", NULL
8946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8951 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8953 arg2
= PyList_Size(obj1
);
8954 arg3
= int_LIST_helper(obj1
);
8955 if (arg3
== NULL
) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= SWIG_Py_Void();
8965 if (arg3
) delete [] arg3
;
8970 if (arg3
) delete [] arg3
;
8976 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
= 0;
8978 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8980 int *arg3
= (int *) 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8985 char * kwnames
[] = {
8986 (char *) "self",(char *) "styles", NULL
8989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8991 if (!SWIG_IsOK(res1
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8994 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8996 arg2
= PyList_Size(obj1
);
8997 arg3
= int_LIST_helper(obj1
);
8998 if (arg3
== NULL
) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_Py_Void();
9008 if (arg3
) delete [] arg3
;
9013 if (arg3
) delete [] arg3
;
9019 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
= 0;
9021 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 char * kwnames
[] = {
9031 (char *) "self",(char *) "i", NULL
9034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9036 if (!SWIG_IsOK(res1
)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9039 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9041 if (!SWIG_IsOK(ecode2
)) {
9042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9044 arg2
= static_cast< int >(val2
);
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9058 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= 0;
9060 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9068 char * kwnames
[] = {
9069 (char *) "self",(char *) "height", NULL
9072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9074 if (!SWIG_IsOK(res1
)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9077 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9079 if (!SWIG_IsOK(ecode2
)) {
9080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9082 arg2
= static_cast< int >(val2
);
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 (arg1
)->SetMinHeight(arg2
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_Py_Void();
9096 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9097 PyObject
*resultobj
= 0;
9098 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9102 PyObject
*swig_obj
[1] ;
9104 if (!args
) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9110 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_From_int(static_cast< int >(result
));
9124 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9125 PyObject
*resultobj
= 0;
9126 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9130 PyObject
*swig_obj
[1] ;
9132 if (!args
) SWIG_fail
;
9134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9135 if (!SWIG_IsOK(res1
)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9138 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_From_int(static_cast< int >(result
));
9152 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9155 SwigValueWrapper
<wxVisualAttributes
> result
;
9158 PyObject
* obj0
= 0 ;
9159 char * kwnames
[] = {
9160 (char *) "variant", NULL
9163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9165 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9166 if (!SWIG_IsOK(ecode1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9169 arg1
= static_cast< wxWindowVariant
>(val1
);
9172 if (!wxPyCheckForApp()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9185 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9188 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9189 return SWIG_Py_Void();
9192 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9193 return SWIG_Python_InitShadowInstance(args
);
9196 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9197 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9202 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9203 PyObject
*pyobj
= 0;
9207 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9209 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9216 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxWindow
*arg1
= (wxWindow
*) 0 ;
9219 int arg2
= (int) -1 ;
9220 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9221 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9222 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9223 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9224 long arg5
= (long) wxSP_3D
;
9225 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9226 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9227 wxSplitterWindow
*result
= 0 ;
9236 bool temp6
= false ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9240 PyObject
* obj3
= 0 ;
9241 PyObject
* obj4
= 0 ;
9242 PyObject
* obj5
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9255 if (!SWIG_IsOK(ecode2
)) {
9256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9258 arg2
= static_cast< int >(val2
);
9263 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9269 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9273 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9274 if (!SWIG_IsOK(ecode5
)) {
9275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9277 arg5
= static_cast< long >(val5
);
9281 arg6
= wxString_in_helper(obj5
);
9282 if (arg6
== NULL
) SWIG_fail
;
9287 if (!wxPyCheckForApp()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9308 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9309 PyObject
*resultobj
= 0;
9310 wxSplitterWindow
*result
= 0 ;
9312 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9314 if (!wxPyCheckForApp()) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9327 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
= 0;
9329 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9330 wxWindow
*arg2
= (wxWindow
*) 0 ;
9331 int arg3
= (int) -1 ;
9332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9336 long arg6
= (long) wxSP_3D
;
9337 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9338 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9350 bool temp7
= false ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9353 PyObject
* obj2
= 0 ;
9354 PyObject
* obj3
= 0 ;
9355 PyObject
* obj4
= 0 ;
9356 PyObject
* obj5
= 0 ;
9357 PyObject
* obj6
= 0 ;
9358 char * kwnames
[] = {
9359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9367 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9369 if (!SWIG_IsOK(res2
)) {
9370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9372 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9375 if (!SWIG_IsOK(ecode3
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9378 arg3
= static_cast< int >(val3
);
9383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9393 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9394 if (!SWIG_IsOK(ecode6
)) {
9395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9397 arg6
= static_cast< long >(val6
);
9401 arg7
= wxString_in_helper(obj6
);
9402 if (arg7
== NULL
) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9429 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9430 PyObject
*resultobj
= 0;
9431 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9432 wxWindow
*result
= 0 ;
9435 PyObject
*swig_obj
[1] ;
9437 if (!args
) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9443 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= wxPyMake_wxObject(result
, 0);
9459 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9460 PyObject
*resultobj
= 0;
9461 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9462 wxWindow
*result
= 0 ;
9465 PyObject
*swig_obj
[1] ;
9467 if (!args
) SWIG_fail
;
9469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9470 if (!SWIG_IsOK(res1
)) {
9471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9473 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= wxPyMake_wxObject(result
, 0);
9489 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
= 0;
9491 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "mode", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9508 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9510 if (!SWIG_IsOK(ecode2
)) {
9511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9513 arg2
= static_cast< int >(val2
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 (arg1
)->SetSplitMode(arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_Py_Void();
9527 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9528 PyObject
*resultobj
= 0;
9529 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9533 PyObject
*swig_obj
[1] ;
9535 if (!args
) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9541 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_From_int(static_cast< int >(result
));
9555 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
= 0;
9557 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9558 wxWindow
*arg2
= (wxWindow
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9565 char * kwnames
[] = {
9566 (char *) "self",(char *) "window", NULL
9569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9571 if (!SWIG_IsOK(res1
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9574 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9576 if (!SWIG_IsOK(res2
)) {
9577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 (arg1
)->Initialize(arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= SWIG_Py_Void();
9593 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
= 0;
9595 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9596 wxWindow
*arg2
= (wxWindow
*) 0 ;
9597 wxWindow
*arg3
= (wxWindow
*) 0 ;
9598 int arg4
= (int) 0 ;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9610 PyObject
* obj2
= 0 ;
9611 PyObject
* obj3
= 0 ;
9612 char * kwnames
[] = {
9613 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9618 if (!SWIG_IsOK(res1
)) {
9619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9621 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9623 if (!SWIG_IsOK(res2
)) {
9624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9627 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9628 if (!SWIG_IsOK(res3
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9631 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9634 if (!SWIG_IsOK(ecode4
)) {
9635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9637 arg4
= static_cast< int >(val4
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9654 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
= 0;
9656 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9657 wxWindow
*arg2
= (wxWindow
*) 0 ;
9658 wxWindow
*arg3
= (wxWindow
*) 0 ;
9659 int arg4
= (int) 0 ;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9671 PyObject
* obj2
= 0 ;
9672 PyObject
* obj3
= 0 ;
9673 char * kwnames
[] = {
9674 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9682 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9684 if (!SWIG_IsOK(res2
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9688 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9689 if (!SWIG_IsOK(res3
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9692 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9695 if (!SWIG_IsOK(ecode4
)) {
9696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9698 arg4
= static_cast< int >(val4
);
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9715 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
= 0;
9717 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9718 wxWindow
*arg2
= (wxWindow
*) NULL
;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 char * kwnames
[] = {
9727 (char *) "self",(char *) "toRemove", NULL
9730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9732 if (!SWIG_IsOK(res1
)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9735 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9738 if (!SWIG_IsOK(res2
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9741 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (bool)(arg1
)->Unsplit(arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9758 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= 0;
9760 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9761 wxWindow
*arg2
= (wxWindow
*) 0 ;
9762 wxWindow
*arg3
= (wxWindow
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9772 PyObject
* obj2
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9782 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9784 if (!SWIG_IsOK(res2
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9787 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9788 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9789 if (!SWIG_IsOK(res3
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9792 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9808 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9809 PyObject
*resultobj
= 0;
9810 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9813 PyObject
*swig_obj
[1] ;
9815 if (!args
) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9821 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->UpdateSize();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9836 PyObject
*resultobj
= 0;
9837 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9841 PyObject
*swig_obj
[1] ;
9843 if (!args
) SWIG_fail
;
9845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9846 if (!SWIG_IsOK(res1
)) {
9847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9849 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9865 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "self",(char *) "width", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9881 if (!SWIG_IsOK(res1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9884 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9889 arg2
= static_cast< int >(val2
);
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 (arg1
)->SetSashSize(arg2
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_Py_Void();
9903 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
= 0;
9905 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9913 char * kwnames
[] = {
9914 (char *) "self",(char *) "width", NULL
9917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9919 if (!SWIG_IsOK(res1
)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9922 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9924 if (!SWIG_IsOK(ecode2
)) {
9925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9927 arg2
= static_cast< int >(val2
);
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 (arg1
)->SetBorderSize(arg2
);
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_Py_Void();
9941 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9942 PyObject
*resultobj
= 0;
9943 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9947 PyObject
*swig_obj
[1] ;
9949 if (!args
) SWIG_fail
;
9951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9952 if (!SWIG_IsOK(res1
)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9955 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= SWIG_From_int(static_cast< int >(result
));
9969 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9970 PyObject
*resultobj
= 0;
9971 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9975 PyObject
*swig_obj
[1] ;
9977 if (!args
) SWIG_fail
;
9979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9980 if (!SWIG_IsOK(res1
)) {
9981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9983 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= SWIG_From_int(static_cast< int >(result
));
9997 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
= 0;
9999 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10001 bool arg3
= (bool) true ;
10008 PyObject
* obj0
= 0 ;
10009 PyObject
* obj1
= 0 ;
10010 PyObject
* obj2
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "self",(char *) "position",(char *) "redraw", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10017 if (!SWIG_IsOK(res1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10020 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10022 if (!SWIG_IsOK(ecode2
)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10025 arg2
= static_cast< int >(val2
);
10027 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10028 if (!SWIG_IsOK(ecode3
)) {
10029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10031 arg3
= static_cast< bool >(val3
);
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 (arg1
)->SetSashPosition(arg2
,arg3
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_Py_Void();
10046 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10047 PyObject
*resultobj
= 0;
10048 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10052 PyObject
*swig_obj
[1] ;
10054 if (!args
) SWIG_fail
;
10055 swig_obj
[0] = args
;
10056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10057 if (!SWIG_IsOK(res1
)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10060 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_From_int(static_cast< int >(result
));
10074 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "gravity", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10094 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10098 arg2
= static_cast< double >(val2
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetSashGravity(arg2
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_Py_Void();
10112 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 PyObject
*resultobj
= 0;
10114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10118 PyObject
*swig_obj
[1] ;
10120 if (!args
) SWIG_fail
;
10121 swig_obj
[0] = args
;
10122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10123 if (!SWIG_IsOK(res1
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10126 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_From_double(static_cast< double >(result
));
10140 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
= 0;
10142 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "self",(char *) "min", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10156 if (!SWIG_IsOK(res1
)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10159 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10161 if (!SWIG_IsOK(ecode2
)) {
10162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10164 arg2
= static_cast< int >(val2
);
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->SetMinimumPaneSize(arg2
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_Py_Void();
10178 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10179 PyObject
*resultobj
= 0;
10180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10184 PyObject
*swig_obj
[1] ;
10186 if (!args
) SWIG_fail
;
10187 swig_obj
[0] = args
;
10188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10189 if (!SWIG_IsOK(res1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10192 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_From_int(static_cast< int >(result
));
10206 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
= 0;
10208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10211 int arg4
= (int) 5 ;
10221 PyObject
* obj0
= 0 ;
10222 PyObject
* obj1
= 0 ;
10223 PyObject
* obj2
= 0 ;
10224 PyObject
* obj3
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10234 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10236 if (!SWIG_IsOK(ecode2
)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10239 arg2
= static_cast< int >(val2
);
10240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10241 if (!SWIG_IsOK(ecode3
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10244 arg3
= static_cast< int >(val3
);
10246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10247 if (!SWIG_IsOK(ecode4
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10250 arg4
= static_cast< int >(val4
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10267 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10268 PyObject
*resultobj
= 0;
10269 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10272 PyObject
*swig_obj
[1] ;
10274 if (!args
) SWIG_fail
;
10275 swig_obj
[0] = args
;
10276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10277 if (!SWIG_IsOK(res1
)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10280 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 (arg1
)->SizeWindows();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_Py_Void();
10294 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
= 0;
10296 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 char * kwnames
[] = {
10305 (char *) "self",(char *) "needUpdating", NULL
10308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10310 if (!SWIG_IsOK(res1
)) {
10311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10313 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10315 if (!SWIG_IsOK(ecode2
)) {
10316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10318 arg2
= static_cast< bool >(val2
);
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 (arg1
)->SetNeedUpdating(arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_Py_Void();
10332 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 PyObject
*resultobj
= 0;
10334 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10338 PyObject
*swig_obj
[1] ;
10340 if (!args
) SWIG_fail
;
10341 swig_obj
[0] = args
;
10342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10346 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10362 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
= 0;
10364 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10365 SwigValueWrapper
<wxVisualAttributes
> result
;
10368 PyObject
* obj0
= 0 ;
10369 char * kwnames
[] = {
10370 (char *) "variant", NULL
10373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10375 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10376 if (!SWIG_IsOK(ecode1
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10379 arg1
= static_cast< wxWindowVariant
>(val1
);
10382 if (!wxPyCheckForApp()) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10395 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10398 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10399 return SWIG_Py_Void();
10402 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10403 return SWIG_Python_InitShadowInstance(args
);
10406 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
= 0;
10408 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10409 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10410 wxSplitterEvent
*result
= 0 ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 char * kwnames
[] = {
10418 (char *) "type",(char *) "splitter", NULL
10421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10424 if (!SWIG_IsOK(ecode1
)) {
10425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10427 arg1
= static_cast< wxEventType
>(val1
);
10430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10431 if (!SWIG_IsOK(res2
)) {
10432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10434 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10449 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
= 0;
10451 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 PyObject
* obj1
= 0 ;
10459 char * kwnames
[] = {
10460 (char *) "self",(char *) "pos", NULL
10463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10465 if (!SWIG_IsOK(res1
)) {
10466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10468 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10470 if (!SWIG_IsOK(ecode2
)) {
10471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10473 arg2
= static_cast< int >(val2
);
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 (arg1
)->SetSashPosition(arg2
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_Py_Void();
10487 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10488 PyObject
*resultobj
= 0;
10489 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10493 PyObject
*swig_obj
[1] ;
10495 if (!args
) SWIG_fail
;
10496 swig_obj
[0] = args
;
10497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10498 if (!SWIG_IsOK(res1
)) {
10499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10501 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_From_int(static_cast< int >(result
));
10515 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10516 PyObject
*resultobj
= 0;
10517 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10518 wxWindow
*result
= 0 ;
10521 PyObject
*swig_obj
[1] ;
10523 if (!args
) SWIG_fail
;
10524 swig_obj
[0] = args
;
10525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10529 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= wxPyMake_wxObject(result
, 0);
10545 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10559 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_From_int(static_cast< int >(result
));
10573 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10574 PyObject
*resultobj
= 0;
10575 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10579 PyObject
*swig_obj
[1] ;
10581 if (!args
) SWIG_fail
;
10582 swig_obj
[0] = args
;
10583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10584 if (!SWIG_IsOK(res1
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10587 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= SWIG_From_int(static_cast< int >(result
));
10601 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10604 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10605 return SWIG_Py_Void();
10608 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10609 return SWIG_Python_InitShadowInstance(args
);
10612 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10613 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10618 SWIGINTERN PyObject
*SashNameStr_get(void) {
10619 PyObject
*pyobj
= 0;
10623 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10625 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10632 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10633 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10638 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10639 PyObject
*pyobj
= 0;
10643 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10645 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10652 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
= 0;
10654 wxWindow
*arg1
= (wxWindow
*) 0 ;
10655 int arg2
= (int) -1 ;
10656 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10657 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10658 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10659 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10660 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10661 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10662 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10663 wxSashWindow
*result
= 0 ;
10672 bool temp6
= false ;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 PyObject
* obj2
= 0 ;
10676 PyObject
* obj3
= 0 ;
10677 PyObject
* obj4
= 0 ;
10678 PyObject
* obj5
= 0 ;
10679 char * kwnames
[] = {
10680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10688 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10691 if (!SWIG_IsOK(ecode2
)) {
10692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10694 arg2
= static_cast< int >(val2
);
10699 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10705 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10709 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10710 if (!SWIG_IsOK(ecode5
)) {
10711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10713 arg5
= static_cast< long >(val5
);
10717 arg6
= wxString_in_helper(obj5
);
10718 if (arg6
== NULL
) SWIG_fail
;
10723 if (!wxPyCheckForApp()) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10744 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10745 PyObject
*resultobj
= 0;
10746 wxSashWindow
*result
= 0 ;
10748 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10750 if (!wxPyCheckForApp()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (wxSashWindow
*)new wxSashWindow();
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10763 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
= 0;
10765 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10766 wxWindow
*arg2
= (wxWindow
*) 0 ;
10767 int arg3
= (int) -1 ;
10768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10772 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10773 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10786 bool temp7
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 PyObject
* obj2
= 0 ;
10790 PyObject
* obj3
= 0 ;
10791 PyObject
* obj4
= 0 ;
10792 PyObject
* obj5
= 0 ;
10793 PyObject
* obj6
= 0 ;
10794 char * kwnames
[] = {
10795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10800 if (!SWIG_IsOK(res1
)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10803 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10805 if (!SWIG_IsOK(res2
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10808 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10811 if (!SWIG_IsOK(ecode3
)) {
10812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10814 arg3
= static_cast< int >(val3
);
10819 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10825 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10829 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10830 if (!SWIG_IsOK(ecode6
)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10833 arg6
= static_cast< long >(val6
);
10837 arg7
= wxString_in_helper(obj6
);
10838 if (arg7
== NULL
) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10865 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10868 wxSashEdgePosition arg2
;
10876 PyObject
* obj0
= 0 ;
10877 PyObject
* obj1
= 0 ;
10878 PyObject
* obj2
= 0 ;
10879 char * kwnames
[] = {
10880 (char *) "self",(char *) "edge",(char *) "sash", NULL
10883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10885 if (!SWIG_IsOK(res1
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10888 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10890 if (!SWIG_IsOK(ecode2
)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10893 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10894 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10895 if (!SWIG_IsOK(ecode3
)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10898 arg3
= static_cast< bool >(val3
);
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->SetSashVisible(arg2
,arg3
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= SWIG_Py_Void();
10912 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
= 0;
10914 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10915 wxSashEdgePosition arg2
;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 char * kwnames
[] = {
10924 (char *) "self",(char *) "edge", NULL
10927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10929 if (!SWIG_IsOK(res1
)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10932 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10934 if (!SWIG_IsOK(ecode2
)) {
10935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10937 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10953 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
= 0;
10955 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10956 wxSashEdgePosition arg2
;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 char * kwnames
[] = {
10968 (char *) "self",(char *) "edge",(char *) "border", NULL
10971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10973 if (!SWIG_IsOK(res1
)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10976 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10978 if (!SWIG_IsOK(ecode2
)) {
10979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10981 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10982 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10983 if (!SWIG_IsOK(ecode3
)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10986 arg3
= static_cast< bool >(val3
);
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->SetSashBorder(arg2
,arg3
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= SWIG_Py_Void();
11000 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
= 0;
11002 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11003 wxSashEdgePosition arg2
;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 char * kwnames
[] = {
11012 (char *) "self",(char *) "edge", NULL
11015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11017 if (!SWIG_IsOK(res1
)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11020 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11022 if (!SWIG_IsOK(ecode2
)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11025 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11041 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11044 wxSashEdgePosition arg2
;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char * kwnames
[] = {
11053 (char *) "self",(char *) "edge", NULL
11056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11058 if (!SWIG_IsOK(res1
)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11061 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11063 if (!SWIG_IsOK(ecode2
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11066 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_From_int(static_cast< int >(result
));
11080 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
= 0;
11082 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 char * kwnames
[] = {
11091 (char *) "self",(char *) "width", NULL
11094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11096 if (!SWIG_IsOK(res1
)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11099 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11101 if (!SWIG_IsOK(ecode2
)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11104 arg2
= static_cast< int >(val2
);
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetDefaultBorderSize(arg2
);
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= SWIG_Py_Void();
11118 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11119 PyObject
*resultobj
= 0;
11120 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11124 PyObject
*swig_obj
[1] ;
11126 if (!args
) SWIG_fail
;
11127 swig_obj
[0] = args
;
11128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11129 if (!SWIG_IsOK(res1
)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11132 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_From_int(static_cast< int >(result
));
11146 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char * kwnames
[] = {
11157 (char *) "self",(char *) "width", NULL
11160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11165 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11167 if (!SWIG_IsOK(ecode2
)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11170 arg2
= static_cast< int >(val2
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 (arg1
)->SetExtraBorderSize(arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_Py_Void();
11184 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11190 PyObject
*swig_obj
[1] ;
11192 if (!args
) SWIG_fail
;
11193 swig_obj
[0] = args
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11198 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_From_int(static_cast< int >(result
));
11212 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
= 0;
11214 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char * kwnames
[] = {
11223 (char *) "self",(char *) "min", NULL
11226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11231 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11233 if (!SWIG_IsOK(ecode2
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11236 arg2
= static_cast< int >(val2
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 (arg1
)->SetMinimumSizeX(arg2
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_Py_Void();
11250 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= 0;
11252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char * kwnames
[] = {
11261 (char *) "self",(char *) "min", NULL
11264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11269 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11271 if (!SWIG_IsOK(ecode2
)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11274 arg2
= static_cast< int >(val2
);
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 (arg1
)->SetMinimumSizeY(arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_Py_Void();
11288 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11289 PyObject
*resultobj
= 0;
11290 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11294 PyObject
*swig_obj
[1] ;
11296 if (!args
) SWIG_fail
;
11297 swig_obj
[0] = args
;
11298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11299 if (!SWIG_IsOK(res1
)) {
11300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11302 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_From_int(static_cast< int >(result
));
11316 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11317 PyObject
*resultobj
= 0;
11318 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11322 PyObject
*swig_obj
[1] ;
11324 if (!args
) SWIG_fail
;
11325 swig_obj
[0] = args
;
11326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11327 if (!SWIG_IsOK(res1
)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11330 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= SWIG_From_int(static_cast< int >(result
));
11344 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
= 0;
11346 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 PyObject
* obj1
= 0 ;
11354 char * kwnames
[] = {
11355 (char *) "self",(char *) "max", NULL
11358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11360 if (!SWIG_IsOK(res1
)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11363 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11365 if (!SWIG_IsOK(ecode2
)) {
11366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11368 arg2
= static_cast< int >(val2
);
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 (arg1
)->SetMaximumSizeX(arg2
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= SWIG_Py_Void();
11382 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
= 0;
11384 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 char * kwnames
[] = {
11393 (char *) "self",(char *) "max", NULL
11396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11398 if (!SWIG_IsOK(res1
)) {
11399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11401 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11403 if (!SWIG_IsOK(ecode2
)) {
11404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11406 arg2
= static_cast< int >(val2
);
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 (arg1
)->SetMaximumSizeY(arg2
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_Py_Void();
11420 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11421 PyObject
*resultobj
= 0;
11422 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11426 PyObject
*swig_obj
[1] ;
11428 if (!args
) SWIG_fail
;
11429 swig_obj
[0] = args
;
11430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11431 if (!SWIG_IsOK(res1
)) {
11432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11434 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= SWIG_From_int(static_cast< int >(result
));
11448 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11449 PyObject
*resultobj
= 0;
11450 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11454 PyObject
*swig_obj
[1] ;
11456 if (!args
) SWIG_fail
;
11457 swig_obj
[0] = args
;
11458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11459 if (!SWIG_IsOK(res1
)) {
11460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11462 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_From_int(static_cast< int >(result
));
11476 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
= 0;
11478 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11481 int arg4
= (int) 2 ;
11482 wxSashEdgePosition result
;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 PyObject
* obj2
= 0 ;
11494 PyObject
* obj3
= 0 ;
11495 char * kwnames
[] = {
11496 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11504 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11506 if (!SWIG_IsOK(ecode2
)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11509 arg2
= static_cast< int >(val2
);
11510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11511 if (!SWIG_IsOK(ecode3
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11514 arg3
= static_cast< int >(val3
);
11516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11517 if (!SWIG_IsOK(ecode4
)) {
11518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11520 arg4
= static_cast< int >(val4
);
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_From_int(static_cast< int >(result
));
11535 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11536 PyObject
*resultobj
= 0;
11537 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11540 PyObject
*swig_obj
[1] ;
11542 if (!args
) SWIG_fail
;
11543 swig_obj
[0] = args
;
11544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11548 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 (arg1
)->SizeWindows();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_Py_Void();
11562 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11565 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11566 return SWIG_Py_Void();
11569 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11570 return SWIG_Python_InitShadowInstance(args
);
11573 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
= 0;
11575 int arg1
= (int) 0 ;
11576 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11577 wxSashEvent
*result
= 0 ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 char * kwnames
[] = {
11585 (char *) "id",(char *) "edge", NULL
11588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11591 if (!SWIG_IsOK(ecode1
)) {
11592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11594 arg1
= static_cast< int >(val1
);
11597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11598 if (!SWIG_IsOK(ecode2
)) {
11599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11601 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11616 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
= 0;
11618 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11619 wxSashEdgePosition arg2
;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 char * kwnames
[] = {
11627 (char *) "self",(char *) "edge", NULL
11630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11632 if (!SWIG_IsOK(res1
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11635 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11637 if (!SWIG_IsOK(ecode2
)) {
11638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11640 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->SetEdge(arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_Py_Void();
11654 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 PyObject
*resultobj
= 0;
11656 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11657 wxSashEdgePosition result
;
11660 PyObject
*swig_obj
[1] ;
11662 if (!args
) SWIG_fail
;
11663 swig_obj
[0] = args
;
11664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11668 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_From_int(static_cast< int >(result
));
11682 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= 0;
11684 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char * kwnames
[] = {
11692 (char *) "self",(char *) "rect", NULL
11695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11697 if (!SWIG_IsOK(res1
)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11700 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_Py_Void();
11718 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11719 PyObject
*resultobj
= 0;
11720 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11724 PyObject
*swig_obj
[1] ;
11726 if (!args
) SWIG_fail
;
11727 swig_obj
[0] = args
;
11728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11729 if (!SWIG_IsOK(res1
)) {
11730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11732 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11746 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
= 0;
11748 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11749 wxSashDragStatus arg2
;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 char * kwnames
[] = {
11757 (char *) "self",(char *) "status", NULL
11760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11765 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11767 if (!SWIG_IsOK(ecode2
)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11770 arg2
= static_cast< wxSashDragStatus
>(val2
);
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 (arg1
)->SetDragStatus(arg2
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_Py_Void();
11784 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 PyObject
*resultobj
= 0;
11786 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11787 wxSashDragStatus result
;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11798 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int(static_cast< int >(result
));
11812 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11815 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11816 return SWIG_Py_Void();
11819 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11820 return SWIG_Python_InitShadowInstance(args
);
11823 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 int arg1
= (int) 0 ;
11826 wxQueryLayoutInfoEvent
*result
= 0 ;
11829 PyObject
* obj0
= 0 ;
11830 char * kwnames
[] = {
11831 (char *) "id", NULL
11834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11836 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11837 if (!SWIG_IsOK(ecode1
)) {
11838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11840 arg1
= static_cast< int >(val1
);
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11855 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
= 0;
11857 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11863 PyObject
* obj0
= 0 ;
11864 PyObject
* obj1
= 0 ;
11865 char * kwnames
[] = {
11866 (char *) "self",(char *) "length", NULL
11869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11871 if (!SWIG_IsOK(res1
)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11874 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11876 if (!SWIG_IsOK(ecode2
)) {
11877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11879 arg2
= static_cast< int >(val2
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 (arg1
)->SetRequestedLength(arg2
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_Py_Void();
11893 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11894 PyObject
*resultobj
= 0;
11895 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11899 PyObject
*swig_obj
[1] ;
11901 if (!args
) SWIG_fail
;
11902 swig_obj
[0] = args
;
11903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11907 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_From_int(static_cast< int >(result
));
11921 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
= 0;
11923 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 char * kwnames
[] = {
11932 (char *) "self",(char *) "flags", NULL
11935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11942 if (!SWIG_IsOK(ecode2
)) {
11943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11945 arg2
= static_cast< int >(val2
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->SetFlags(arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_Py_Void();
11959 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_int(static_cast< int >(result
));
11987 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "size", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->SetSize((wxSize
const &)*arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_Py_Void();
12023 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12024 PyObject
*resultobj
= 0;
12025 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12029 PyObject
*swig_obj
[1] ;
12031 if (!args
) SWIG_fail
;
12032 swig_obj
[0] = args
;
12033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12034 if (!SWIG_IsOK(res1
)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12037 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12051 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
= 0;
12053 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12054 wxLayoutOrientation arg2
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char * kwnames
[] = {
12062 (char *) "self",(char *) "orient", NULL
12065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12072 if (!SWIG_IsOK(ecode2
)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12075 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetOrientation(arg2
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12090 PyObject
*resultobj
= 0;
12091 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12092 wxLayoutOrientation result
;
12095 PyObject
*swig_obj
[1] ;
12097 if (!args
) SWIG_fail
;
12098 swig_obj
[0] = args
;
12099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_From_int(static_cast< int >(result
));
12117 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
= 0;
12119 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12120 wxLayoutAlignment arg2
;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char * kwnames
[] = {
12128 (char *) "self",(char *) "align", NULL
12131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12136 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12138 if (!SWIG_IsOK(ecode2
)) {
12139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12141 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 (arg1
)->SetAlignment(arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_Py_Void();
12155 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12156 PyObject
*resultobj
= 0;
12157 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12158 wxLayoutAlignment result
;
12161 PyObject
*swig_obj
[1] ;
12163 if (!args
) SWIG_fail
;
12164 swig_obj
[0] = args
;
12165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12169 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_From_int(static_cast< int >(result
));
12183 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12186 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12187 return SWIG_Py_Void();
12190 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12191 return SWIG_Python_InitShadowInstance(args
);
12194 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 int arg1
= (int) 0 ;
12197 wxCalculateLayoutEvent
*result
= 0 ;
12200 PyObject
* obj0
= 0 ;
12201 char * kwnames
[] = {
12202 (char *) "id", NULL
12205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12207 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12208 if (!SWIG_IsOK(ecode1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12211 arg1
= static_cast< int >(val1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12226 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
= 0;
12228 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char * kwnames
[] = {
12237 (char *) "self",(char *) "flags", NULL
12240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12245 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12247 if (!SWIG_IsOK(ecode2
)) {
12248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12250 arg2
= static_cast< int >(val2
);
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetFlags(arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_Py_Void();
12264 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12265 PyObject
*resultobj
= 0;
12266 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12270 PyObject
*swig_obj
[1] ;
12272 if (!args
) SWIG_fail
;
12273 swig_obj
[0] = args
;
12274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12275 if (!SWIG_IsOK(res1
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12278 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_From_int(static_cast< int >(result
));
12292 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
= 0;
12294 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 char * kwnames
[] = {
12302 (char *) "self",(char *) "rect", NULL
12305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12310 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12313 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 (arg1
)->SetRect((wxRect
const &)*arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_Py_Void();
12328 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12329 PyObject
*resultobj
= 0;
12330 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12334 PyObject
*swig_obj
[1] ;
12336 if (!args
) SWIG_fail
;
12337 swig_obj
[0] = args
;
12338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12339 if (!SWIG_IsOK(res1
)) {
12340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12342 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12356 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12359 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12360 return SWIG_Py_Void();
12363 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 return SWIG_Python_InitShadowInstance(args
);
12367 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
= 0;
12369 wxWindow
*arg1
= (wxWindow
*) 0 ;
12370 int arg2
= (int) -1 ;
12371 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12372 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12373 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12374 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12375 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12376 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12377 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12378 wxSashLayoutWindow
*result
= 0 ;
12387 bool temp6
= false ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 PyObject
* obj2
= 0 ;
12391 PyObject
* obj3
= 0 ;
12392 PyObject
* obj4
= 0 ;
12393 PyObject
* obj5
= 0 ;
12394 char * kwnames
[] = {
12395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12406 if (!SWIG_IsOK(ecode2
)) {
12407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12409 arg2
= static_cast< int >(val2
);
12414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12424 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12425 if (!SWIG_IsOK(ecode5
)) {
12426 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12428 arg5
= static_cast< long >(val5
);
12432 arg6
= wxString_in_helper(obj5
);
12433 if (arg6
== NULL
) SWIG_fail
;
12438 if (!wxPyCheckForApp()) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12459 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12460 PyObject
*resultobj
= 0;
12461 wxSashLayoutWindow
*result
= 0 ;
12463 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12465 if (!wxPyCheckForApp()) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12478 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
= 0;
12480 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12481 wxWindow
*arg2
= (wxWindow
*) 0 ;
12482 int arg3
= (int) -1 ;
12483 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12484 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12485 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12486 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12487 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12488 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12489 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12501 bool temp7
= false ;
12502 PyObject
* obj0
= 0 ;
12503 PyObject
* obj1
= 0 ;
12504 PyObject
* obj2
= 0 ;
12505 PyObject
* obj3
= 0 ;
12506 PyObject
* obj4
= 0 ;
12507 PyObject
* obj5
= 0 ;
12508 PyObject
* obj6
= 0 ;
12509 char * kwnames
[] = {
12510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12515 if (!SWIG_IsOK(res1
)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12518 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12520 if (!SWIG_IsOK(res2
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12526 if (!SWIG_IsOK(ecode3
)) {
12527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12529 arg3
= static_cast< int >(val3
);
12534 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12540 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12544 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12545 if (!SWIG_IsOK(ecode6
)) {
12546 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12548 arg6
= static_cast< long >(val6
);
12552 arg7
= wxString_in_helper(obj6
);
12553 if (arg7
== NULL
) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12580 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12581 PyObject
*resultobj
= 0;
12582 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12583 wxLayoutAlignment result
;
12586 PyObject
*swig_obj
[1] ;
12588 if (!args
) SWIG_fail
;
12589 swig_obj
[0] = args
;
12590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12591 if (!SWIG_IsOK(res1
)) {
12592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12594 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_From_int(static_cast< int >(result
));
12608 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 PyObject
*resultobj
= 0;
12610 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12611 wxLayoutOrientation result
;
12614 PyObject
*swig_obj
[1] ;
12616 if (!args
) SWIG_fail
;
12617 swig_obj
[0] = args
;
12618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12622 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_From_int(static_cast< int >(result
));
12636 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= 0;
12638 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12639 wxLayoutAlignment arg2
;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 char * kwnames
[] = {
12647 (char *) "self",(char *) "alignment", NULL
12650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12655 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12657 if (!SWIG_IsOK(ecode2
)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12660 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 (arg1
)->SetAlignment(arg2
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_Py_Void();
12674 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
= 0;
12676 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 char * kwnames
[] = {
12684 (char *) "self",(char *) "size", NULL
12687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12689 if (!SWIG_IsOK(res1
)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12692 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12695 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_Py_Void();
12710 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
= 0;
12712 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12713 wxLayoutOrientation arg2
;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 char * kwnames
[] = {
12721 (char *) "self",(char *) "orientation", NULL
12724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12726 if (!SWIG_IsOK(res1
)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12729 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12731 if (!SWIG_IsOK(ecode2
)) {
12732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12734 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 (arg1
)->SetOrientation(arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_Py_Void();
12748 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12752 return SWIG_Py_Void();
12755 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12756 return SWIG_Python_InitShadowInstance(args
);
12759 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12760 PyObject
*resultobj
= 0;
12761 wxLayoutAlgorithm
*result
= 0 ;
12763 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12777 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12778 PyObject
*resultobj
= 0;
12779 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12782 PyObject
*swig_obj
[1] ;
12784 if (!args
) SWIG_fail
;
12785 swig_obj
[0] = args
;
12786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12787 if (!SWIG_IsOK(res1
)) {
12788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12790 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_Py_Void();
12805 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
= 0;
12807 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12808 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12809 wxRect
*arg3
= (wxRect
*) NULL
;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 PyObject
* obj2
= 0 ;
12820 char * kwnames
[] = {
12821 (char *) "self",(char *) "frame",(char *) "rect", NULL
12824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12829 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12831 if (!SWIG_IsOK(res2
)) {
12832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12834 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12836 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12837 if (!SWIG_IsOK(res3
)) {
12838 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12840 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12857 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= 0;
12859 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12860 wxFrame
*arg2
= (wxFrame
*) 0 ;
12861 wxWindow
*arg3
= (wxWindow
*) NULL
;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 PyObject
* obj2
= 0 ;
12872 char * kwnames
[] = {
12873 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12878 if (!SWIG_IsOK(res1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12881 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12883 if (!SWIG_IsOK(res2
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12886 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12888 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12889 if (!SWIG_IsOK(res3
)) {
12890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12892 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
= 0;
12911 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12912 wxWindow
*arg2
= (wxWindow
*) 0 ;
12913 wxWindow
*arg3
= (wxWindow
*) NULL
;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 PyObject
* obj2
= 0 ;
12924 char * kwnames
[] = {
12925 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12933 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12935 if (!SWIG_IsOK(res2
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12940 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12941 if (!SWIG_IsOK(res3
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12944 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12961 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12964 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12965 return SWIG_Py_Void();
12968 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 return SWIG_Python_InitShadowInstance(args
);
12972 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
= 0;
12974 wxWindow
*arg1
= (wxWindow
*) 0 ;
12975 int arg2
= (int) wxBORDER_NONE
;
12976 wxPopupWindow
*result
= 0 ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 char * kwnames
[] = {
12984 (char *) "parent",(char *) "flags", NULL
12987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12995 if (!SWIG_IsOK(ecode2
)) {
12996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12998 arg2
= static_cast< int >(val2
);
13001 if (!wxPyCheckForApp()) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13014 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 PyObject
*resultobj
= 0;
13016 wxPopupWindow
*result
= 0 ;
13018 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13020 if (!wxPyCheckForApp()) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (wxPopupWindow
*)new wxPopupWindow();
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13033 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
= 0;
13035 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13036 wxWindow
*arg2
= (wxWindow
*) 0 ;
13037 int arg3
= (int) wxBORDER_NONE
;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 PyObject
* obj2
= 0 ;
13048 char * kwnames
[] = {
13049 (char *) "self",(char *) "parent",(char *) "flags", NULL
13052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13054 if (!SWIG_IsOK(res1
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13057 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13059 if (!SWIG_IsOK(res2
)) {
13060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13065 if (!SWIG_IsOK(ecode3
)) {
13066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13068 arg3
= static_cast< int >(val3
);
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13085 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
= 0;
13087 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13088 wxPoint
*arg2
= 0 ;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 PyObject
* obj2
= 0 ;
13097 char * kwnames
[] = {
13098 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13103 if (!SWIG_IsOK(res1
)) {
13104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13106 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13113 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_Py_Void();
13128 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13132 return SWIG_Py_Void();
13135 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13136 return SWIG_Python_InitShadowInstance(args
);
13139 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= 0;
13141 wxWindow
*arg1
= (wxWindow
*) 0 ;
13142 int arg2
= (int) wxBORDER_NONE
;
13143 wxPyPopupTransientWindow
*result
= 0 ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char * kwnames
[] = {
13151 (char *) "parent",(char *) "style", NULL
13154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13156 if (!SWIG_IsOK(res1
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13162 if (!SWIG_IsOK(ecode2
)) {
13163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13165 arg2
= static_cast< int >(val2
);
13168 if (!wxPyCheckForApp()) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13181 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 PyObject
*resultobj
= 0;
13183 wxPyPopupTransientWindow
*result
= 0 ;
13185 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13187 if (!wxPyCheckForApp()) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13200 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
= 0;
13202 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13203 PyObject
*arg2
= (PyObject
*) 0 ;
13204 PyObject
*arg3
= (PyObject
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 char * kwnames
[] = {
13211 (char *) "self",(char *) "self",(char *) "_class", NULL
13214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13216 if (!SWIG_IsOK(res1
)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13219 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_Py_Void();
13235 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
= 0;
13237 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13238 wxWindow
*arg2
= (wxWindow
*) NULL
;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "self",(char *) "focus", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13254 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13257 if (!SWIG_IsOK(res2
)) {
13258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 (arg1
)->Popup(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_Py_Void();
13275 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13276 PyObject
*resultobj
= 0;
13277 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13280 PyObject
*swig_obj
[1] ;
13282 if (!args
) SWIG_fail
;
13283 swig_obj
[0] = args
;
13284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13285 if (!SWIG_IsOK(res1
)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13288 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_Py_Void();
13302 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13305 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13306 return SWIG_Py_Void();
13309 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13310 return SWIG_Python_InitShadowInstance(args
);
13313 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
= 0;
13315 wxWindow
*arg1
= (wxWindow
*) 0 ;
13316 wxString
*arg2
= 0 ;
13317 int arg3
= (int) 100 ;
13318 wxRect
*arg4
= (wxRect
*) NULL
;
13319 wxTipWindow
*result
= 0 ;
13322 bool temp2
= false ;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 PyObject
* obj2
= 0 ;
13330 PyObject
* obj3
= 0 ;
13331 char * kwnames
[] = {
13332 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13337 if (!SWIG_IsOK(res1
)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13340 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13342 arg2
= wxString_in_helper(obj1
);
13343 if (arg2
== NULL
) SWIG_fail
;
13347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13348 if (!SWIG_IsOK(ecode3
)) {
13349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13351 arg3
= static_cast< int >(val3
);
13354 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13355 if (!SWIG_IsOK(res4
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13358 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13361 if (!wxPyCheckForApp()) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13382 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
= 0;
13384 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char * kwnames
[] = {
13392 (char *) "self",(char *) "rectBound", NULL
13395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13400 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_Py_Void();
13418 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13419 PyObject
*resultobj
= 0;
13420 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13423 PyObject
*swig_obj
[1] ;
13425 if (!args
) SWIG_fail
;
13426 swig_obj
[0] = args
;
13427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13428 if (!SWIG_IsOK(res1
)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13431 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_Py_Void();
13445 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13448 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13449 return SWIG_Py_Void();
13452 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13453 return SWIG_Python_InitShadowInstance(args
);
13456 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= 0;
13458 wxWindow
*arg1
= (wxWindow
*) 0 ;
13459 int arg2
= (int) wxID_ANY
;
13460 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13461 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13462 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13463 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13464 long arg5
= (long) 0 ;
13465 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13466 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13467 wxPyVScrolledWindow
*result
= 0 ;
13476 bool temp6
= false ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 PyObject
* obj2
= 0 ;
13480 PyObject
* obj3
= 0 ;
13481 PyObject
* obj4
= 0 ;
13482 PyObject
* obj5
= 0 ;
13483 char * kwnames
[] = {
13484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13489 if (!SWIG_IsOK(res1
)) {
13490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13495 if (!SWIG_IsOK(ecode2
)) {
13496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13498 arg2
= static_cast< int >(val2
);
13503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13509 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13513 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13514 if (!SWIG_IsOK(ecode5
)) {
13515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13517 arg5
= static_cast< long >(val5
);
13521 arg6
= wxString_in_helper(obj5
);
13522 if (arg6
== NULL
) SWIG_fail
;
13527 if (!wxPyCheckForApp()) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13548 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13549 PyObject
*resultobj
= 0;
13550 wxPyVScrolledWindow
*result
= 0 ;
13552 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13554 if (!wxPyCheckForApp()) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13567 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
= 0;
13569 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13570 PyObject
*arg2
= (PyObject
*) 0 ;
13571 PyObject
*arg3
= (PyObject
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 PyObject
* obj2
= 0 ;
13577 char * kwnames
[] = {
13578 (char *) "self",(char *) "self",(char *) "_class", NULL
13581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13583 if (!SWIG_IsOK(res1
)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13586 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= SWIG_Py_Void();
13602 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13605 wxWindow
*arg2
= (wxWindow
*) 0 ;
13606 int arg3
= (int) wxID_ANY
;
13607 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13608 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13609 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13610 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13611 long arg6
= (long) 0 ;
13612 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13613 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13625 bool temp7
= false ;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 PyObject
* obj2
= 0 ;
13629 PyObject
* obj3
= 0 ;
13630 PyObject
* obj4
= 0 ;
13631 PyObject
* obj5
= 0 ;
13632 PyObject
* obj6
= 0 ;
13633 char * kwnames
[] = {
13634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13639 if (!SWIG_IsOK(res1
)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13642 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13644 if (!SWIG_IsOK(res2
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13650 if (!SWIG_IsOK(ecode3
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13653 arg3
= static_cast< int >(val3
);
13658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13668 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13669 if (!SWIG_IsOK(ecode6
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13672 arg6
= static_cast< long >(val6
);
13676 arg7
= wxString_in_helper(obj6
);
13677 if (arg7
== NULL
) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
= 0;
13706 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char * kwnames
[] = {
13715 (char *) "self",(char *) "count", NULL
13718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13723 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13724 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13725 if (!SWIG_IsOK(ecode2
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13728 arg2
= static_cast< size_t >(val2
);
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 (arg1
)->SetLineCount(arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_Py_Void();
13742 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
= 0;
13744 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 char * kwnames
[] = {
13754 (char *) "self",(char *) "line", NULL
13757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13759 if (!SWIG_IsOK(res1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13762 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13763 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13764 if (!SWIG_IsOK(ecode2
)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13767 arg2
= static_cast< size_t >(val2
);
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
= 0;
13785 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 char * kwnames
[] = {
13794 (char *) "self",(char *) "line", NULL
13797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13799 if (!SWIG_IsOK(res1
)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13802 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13803 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13804 if (!SWIG_IsOK(ecode2
)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13807 arg2
= static_cast< size_t >(val2
);
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 (arg1
)->RefreshLine(arg2
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 resultobj
= SWIG_Py_Void();
13821 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
= 0;
13823 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 PyObject
* obj1
= 0 ;
13834 PyObject
* obj2
= 0 ;
13835 char * kwnames
[] = {
13836 (char *) "self",(char *) "from",(char *) "to", NULL
13839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13841 if (!SWIG_IsOK(res1
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13844 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13845 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13846 if (!SWIG_IsOK(ecode2
)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13849 arg2
= static_cast< size_t >(val2
);
13850 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13851 if (!SWIG_IsOK(ecode3
)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13854 arg3
= static_cast< size_t >(val3
);
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 (arg1
)->RefreshLines(arg2
,arg3
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_Py_Void();
13868 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
= 0;
13870 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 PyObject
* obj2
= 0 ;
13883 char * kwnames
[] = {
13884 (char *) "self",(char *) "x",(char *) "y", NULL
13887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13889 if (!SWIG_IsOK(res1
)) {
13890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13892 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13894 if (!SWIG_IsOK(ecode2
)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13897 arg2
= static_cast< int >(val2
);
13898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13899 if (!SWIG_IsOK(ecode3
)) {
13900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13902 arg3
= static_cast< int >(val3
);
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_From_int(static_cast< int >(result
));
13916 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
= 0;
13918 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13919 wxPoint
*arg2
= 0 ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 char * kwnames
[] = {
13927 (char *) "self",(char *) "pt", NULL
13930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13932 if (!SWIG_IsOK(res1
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13935 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_From_int(static_cast< int >(result
));
13953 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13954 PyObject
*resultobj
= 0;
13955 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13958 PyObject
*swig_obj
[1] ;
13960 if (!args
) SWIG_fail
;
13961 swig_obj
[0] = args
;
13962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13963 if (!SWIG_IsOK(res1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13966 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 (arg1
)->RefreshAll();
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_Py_Void();
13980 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13981 PyObject
*resultobj
= 0;
13982 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13986 PyObject
*swig_obj
[1] ;
13988 if (!args
) SWIG_fail
;
13989 swig_obj
[0] = args
;
13990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13991 if (!SWIG_IsOK(res1
)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13994 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14008 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14009 PyObject
*resultobj
= 0;
14010 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14014 PyObject
*swig_obj
[1] ;
14016 if (!args
) SWIG_fail
;
14017 swig_obj
[0] = args
;
14018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14019 if (!SWIG_IsOK(res1
)) {
14020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14022 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14036 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14037 PyObject
*resultobj
= 0;
14038 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14042 PyObject
*swig_obj
[1] ;
14044 if (!args
) SWIG_fail
;
14045 swig_obj
[0] = args
;
14046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14050 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14064 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
= 0;
14066 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 char * kwnames
[] = {
14076 (char *) "self",(char *) "line", NULL
14079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14084 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14085 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14086 if (!SWIG_IsOK(ecode2
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14089 arg2
= static_cast< size_t >(val2
);
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14105 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14106 PyObject
*resultobj
= 0;
14107 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14111 PyObject
*swig_obj
[1] ;
14113 if (!args
) SWIG_fail
;
14114 swig_obj
[0] = args
;
14115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14116 if (!SWIG_IsOK(res1
)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14119 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14133 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14134 PyObject
*resultobj
= 0;
14135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14139 PyObject
*swig_obj
[1] ;
14141 if (!args
) SWIG_fail
;
14142 swig_obj
[0] = args
;
14143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14144 if (!SWIG_IsOK(res1
)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14147 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14161 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
= 0;
14163 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14165 bool arg3
= (bool) false ;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 PyObject
* obj2
= 0 ;
14176 char * kwnames
[] = {
14177 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14182 if (!SWIG_IsOK(res1
)) {
14183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14185 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14186 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14187 if (!SWIG_IsOK(ecode2
)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14190 arg2
= static_cast< size_t >(val2
);
14192 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14193 if (!SWIG_IsOK(ecode3
)) {
14194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14196 arg3
= static_cast< bool >(val3
);
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14211 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
= 0;
14213 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 PyObject
* obj2
= 0 ;
14226 char * kwnames
[] = {
14227 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14232 if (!SWIG_IsOK(res1
)) {
14233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14235 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14236 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14237 if (!SWIG_IsOK(ecode2
)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14240 arg2
= static_cast< size_t >(val2
);
14241 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14242 if (!SWIG_IsOK(ecode3
)) {
14243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14245 arg3
= static_cast< size_t >(val3
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_From_int(static_cast< int >(result
));
14259 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14262 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14263 return SWIG_Py_Void();
14266 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14267 return SWIG_Python_InitShadowInstance(args
);
14270 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14271 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14276 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14277 PyObject
*pyobj
= 0;
14281 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14283 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14290 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
= 0;
14292 wxWindow
*arg1
= (wxWindow
*) 0 ;
14293 int arg2
= (int) wxID_ANY
;
14294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14298 long arg5
= (long) 0 ;
14299 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14300 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14301 wxPyVListBox
*result
= 0 ;
14310 bool temp6
= false ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 PyObject
* obj2
= 0 ;
14314 PyObject
* obj3
= 0 ;
14315 PyObject
* obj4
= 0 ;
14316 PyObject
* obj5
= 0 ;
14317 char * kwnames
[] = {
14318 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14323 if (!SWIG_IsOK(res1
)) {
14324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14329 if (!SWIG_IsOK(ecode2
)) {
14330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14332 arg2
= static_cast< int >(val2
);
14337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14343 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14347 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14348 if (!SWIG_IsOK(ecode5
)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14351 arg5
= static_cast< long >(val5
);
14355 arg6
= wxString_in_helper(obj5
);
14356 if (arg6
== NULL
) SWIG_fail
;
14361 if (!wxPyCheckForApp()) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14382 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14383 PyObject
*resultobj
= 0;
14384 wxPyVListBox
*result
= 0 ;
14386 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14388 if (!wxPyCheckForApp()) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxPyVListBox
*)new wxPyVListBox();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14401 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
= 0;
14403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14404 PyObject
*arg2
= (PyObject
*) 0 ;
14405 PyObject
*arg3
= (PyObject
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 PyObject
* obj2
= 0 ;
14411 char * kwnames
[] = {
14412 (char *) "self",(char *) "self",(char *) "_class", NULL
14415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14417 if (!SWIG_IsOK(res1
)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14420 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_Py_Void();
14436 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
= 0;
14438 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14439 wxWindow
*arg2
= (wxWindow
*) 0 ;
14440 int arg3
= (int) wxID_ANY
;
14441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14445 long arg6
= (long) 0 ;
14446 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14459 bool temp7
= false ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 PyObject
* obj2
= 0 ;
14463 PyObject
* obj3
= 0 ;
14464 PyObject
* obj4
= 0 ;
14465 PyObject
* obj5
= 0 ;
14466 PyObject
* obj6
= 0 ;
14467 char * kwnames
[] = {
14468 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14473 if (!SWIG_IsOK(res1
)) {
14474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14476 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14478 if (!SWIG_IsOK(res2
)) {
14479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14481 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14484 if (!SWIG_IsOK(ecode3
)) {
14485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14487 arg3
= static_cast< int >(val3
);
14492 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14498 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14502 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14503 if (!SWIG_IsOK(ecode6
)) {
14504 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14506 arg6
= static_cast< long >(val6
);
14510 arg7
= wxString_in_helper(obj6
);
14511 if (arg7
== NULL
) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14538 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 PyObject
*resultobj
= 0;
14540 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14544 PyObject
*swig_obj
[1] ;
14546 if (!args
) SWIG_fail
;
14547 swig_obj
[0] = args
;
14548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14552 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14566 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14567 PyObject
*resultobj
= 0;
14568 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14572 PyObject
*swig_obj
[1] ;
14574 if (!args
) SWIG_fail
;
14575 swig_obj
[0] = args
;
14576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14580 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14596 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14597 PyObject
*resultobj
= 0;
14598 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14602 PyObject
*swig_obj
[1] ;
14604 if (!args
) SWIG_fail
;
14605 swig_obj
[0] = args
;
14606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14607 if (!SWIG_IsOK(res1
)) {
14608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14610 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= SWIG_From_int(static_cast< int >(result
));
14624 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
= 0;
14626 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 PyObject
* obj1
= 0 ;
14635 char * kwnames
[] = {
14636 (char *) "self",(char *) "item", NULL
14639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14641 if (!SWIG_IsOK(res1
)) {
14642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14644 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14645 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14646 if (!SWIG_IsOK(ecode2
)) {
14647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14649 arg2
= static_cast< size_t >(val2
);
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14665 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
= 0;
14667 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 char * kwnames
[] = {
14677 (char *) "self",(char *) "item", NULL
14680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14682 if (!SWIG_IsOK(res1
)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14685 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14686 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14687 if (!SWIG_IsOK(ecode2
)) {
14688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14690 arg2
= static_cast< size_t >(val2
);
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14706 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14707 PyObject
*resultobj
= 0;
14708 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14712 PyObject
*swig_obj
[1] ;
14714 if (!args
) SWIG_fail
;
14715 swig_obj
[0] = args
;
14716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14717 if (!SWIG_IsOK(res1
)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14720 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14734 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14735 PyObject
*resultobj
= 0;
14736 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14737 PyObject
*result
= 0 ;
14740 PyObject
*swig_obj
[1] ;
14742 if (!args
) SWIG_fail
;
14743 swig_obj
[0] = args
;
14744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14748 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= result
;
14762 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
= 0;
14764 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14765 unsigned long arg2
;
14766 PyObject
*result
= 0 ;
14769 unsigned long val2
;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 char * kwnames
[] = {
14774 (char *) "self",(char *) "cookie", NULL
14777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14782 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14783 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14784 if (!SWIG_IsOK(ecode2
)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14787 arg2
= static_cast< unsigned long >(val2
);
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 resultobj
= result
;
14801 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14802 PyObject
*resultobj
= 0;
14803 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14807 PyObject
*swig_obj
[1] ;
14809 if (!args
) SWIG_fail
;
14810 swig_obj
[0] = args
;
14811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14815 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14829 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14830 PyObject
*resultobj
= 0;
14831 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14832 wxColour
*result
= 0 ;
14835 PyObject
*swig_obj
[1] ;
14837 if (!args
) SWIG_fail
;
14838 swig_obj
[0] = args
;
14839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14840 if (!SWIG_IsOK(res1
)) {
14841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14843 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14848 result
= (wxColour
*) &_result_ref
;
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14860 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= 0;
14862 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 char * kwnames
[] = {
14871 (char *) "self",(char *) "count", NULL
14874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14876 if (!SWIG_IsOK(res1
)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14879 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14880 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14881 if (!SWIG_IsOK(ecode2
)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14884 arg2
= static_cast< size_t >(val2
);
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 (arg1
)->SetItemCount(arg2
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_Py_Void();
14898 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14899 PyObject
*resultobj
= 0;
14900 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14903 PyObject
*swig_obj
[1] ;
14905 if (!args
) SWIG_fail
;
14906 swig_obj
[0] = args
;
14907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14908 if (!SWIG_IsOK(res1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14911 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_Py_Void();
14925 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
= 0;
14927 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 char * kwnames
[] = {
14936 (char *) "self",(char *) "selection", NULL
14939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14944 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14946 if (!SWIG_IsOK(ecode2
)) {
14947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14949 arg2
= static_cast< int >(val2
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 (arg1
)->SetSelection(arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_Py_Void();
14963 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
= 0;
14965 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14967 bool arg3
= (bool) true ;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 PyObject
* obj2
= 0 ;
14978 char * kwnames
[] = {
14979 (char *) "self",(char *) "item",(char *) "select", NULL
14982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14984 if (!SWIG_IsOK(res1
)) {
14985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14987 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14988 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14989 if (!SWIG_IsOK(ecode2
)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14992 arg2
= static_cast< size_t >(val2
);
14994 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14995 if (!SWIG_IsOK(ecode3
)) {
14996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14998 arg3
= static_cast< bool >(val3
);
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15015 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
= 0;
15017 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 PyObject
* obj1
= 0 ;
15029 PyObject
* obj2
= 0 ;
15030 char * kwnames
[] = {
15031 (char *) "self",(char *) "from",(char *) "to", NULL
15034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15036 if (!SWIG_IsOK(res1
)) {
15037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15039 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15040 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15041 if (!SWIG_IsOK(ecode2
)) {
15042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15044 arg2
= static_cast< size_t >(val2
);
15045 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15046 if (!SWIG_IsOK(ecode3
)) {
15047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15049 arg3
= static_cast< size_t >(val3
);
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15065 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
= 0;
15067 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 char * kwnames
[] = {
15076 (char *) "self",(char *) "item", NULL
15079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15081 if (!SWIG_IsOK(res1
)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15084 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15085 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15086 if (!SWIG_IsOK(ecode2
)) {
15087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15089 arg2
= static_cast< size_t >(val2
);
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 (arg1
)->Toggle(arg2
);
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= SWIG_Py_Void();
15103 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15104 PyObject
*resultobj
= 0;
15105 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15109 PyObject
*swig_obj
[1] ;
15111 if (!args
) SWIG_fail
;
15112 swig_obj
[0] = args
;
15113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15117 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (bool)(arg1
)->SelectAll();
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15133 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15134 PyObject
*resultobj
= 0;
15135 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15139 PyObject
*swig_obj
[1] ;
15141 if (!args
) SWIG_fail
;
15142 swig_obj
[0] = args
;
15143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15144 if (!SWIG_IsOK(res1
)) {
15145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15147 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (bool)(arg1
)->DeselectAll();
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15163 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
= 0;
15165 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15166 wxPoint
*arg2
= 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 char * kwnames
[] = {
15173 (char *) "self",(char *) "pt", NULL
15176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15178 if (!SWIG_IsOK(res1
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15181 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= SWIG_Py_Void();
15199 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
= 0;
15201 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 PyObject
* obj2
= 0 ;
15213 char * kwnames
[] = {
15214 (char *) "self",(char *) "x",(char *) "y", NULL
15217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15219 if (!SWIG_IsOK(res1
)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15222 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15224 if (!SWIG_IsOK(ecode2
)) {
15225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15227 arg2
= static_cast< int >(val2
);
15228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15229 if (!SWIG_IsOK(ecode3
)) {
15230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15232 arg3
= static_cast< int >(val3
);
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 (arg1
)->SetMargins(arg2
,arg3
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_Py_Void();
15246 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
= 0;
15248 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15249 wxColour
*arg2
= 0 ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 char * kwnames
[] = {
15256 (char *) "self",(char *) "col", NULL
15259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15261 if (!SWIG_IsOK(res1
)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15264 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_Py_Void();
15282 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= 0;
15284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 PyObject
* obj2
= 0 ;
15298 PyObject
* obj3
= 0 ;
15299 char * kwnames
[] = {
15300 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15305 if (!SWIG_IsOK(res1
)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15308 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15310 if (!SWIG_IsOK(res2
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15316 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15319 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15321 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15322 if (!SWIG_IsOK(ecode4
)) {
15323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15325 arg4
= static_cast< size_t >(val4
);
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= SWIG_Py_Void();
15339 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
= 0;
15341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 PyObject
* obj2
= 0 ;
15355 PyObject
* obj3
= 0 ;
15356 char * kwnames
[] = {
15357 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15362 if (!SWIG_IsOK(res1
)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15365 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15367 if (!SWIG_IsOK(res2
)) {
15368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15373 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15376 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15378 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15379 if (!SWIG_IsOK(ecode4
)) {
15380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15382 arg4
= static_cast< size_t >(val4
);
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_Py_Void();
15396 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15399 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15400 return SWIG_Py_Void();
15403 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15404 return SWIG_Python_InitShadowInstance(args
);
15407 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
= 0;
15409 wxWindow
*arg1
= (wxWindow
*) 0 ;
15410 int arg2
= (int) wxID_ANY
;
15411 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15412 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15413 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15414 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15415 long arg5
= (long) 0 ;
15416 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15417 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15418 wxPyHtmlListBox
*result
= 0 ;
15427 bool temp6
= false ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 PyObject
* obj2
= 0 ;
15431 PyObject
* obj3
= 0 ;
15432 PyObject
* obj4
= 0 ;
15433 PyObject
* obj5
= 0 ;
15434 char * kwnames
[] = {
15435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15440 if (!SWIG_IsOK(res1
)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15446 if (!SWIG_IsOK(ecode2
)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15449 arg2
= static_cast< int >(val2
);
15454 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15460 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15464 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15465 if (!SWIG_IsOK(ecode5
)) {
15466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15468 arg5
= static_cast< long >(val5
);
15472 arg6
= wxString_in_helper(obj5
);
15473 if (arg6
== NULL
) SWIG_fail
;
15478 if (!wxPyCheckForApp()) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15499 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15500 PyObject
*resultobj
= 0;
15501 wxPyHtmlListBox
*result
= 0 ;
15503 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15505 if (!wxPyCheckForApp()) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15518 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
= 0;
15520 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15521 PyObject
*arg2
= (PyObject
*) 0 ;
15522 PyObject
*arg3
= (PyObject
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 PyObject
* obj2
= 0 ;
15528 char * kwnames
[] = {
15529 (char *) "self",(char *) "self",(char *) "_class", NULL
15532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15537 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= SWIG_Py_Void();
15553 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= 0;
15555 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15556 wxWindow
*arg2
= (wxWindow
*) 0 ;
15557 int arg3
= (int) wxID_ANY
;
15558 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15559 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15560 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15561 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15562 long arg6
= (long) 0 ;
15563 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15564 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15576 bool temp7
= false ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 PyObject
* obj2
= 0 ;
15580 PyObject
* obj3
= 0 ;
15581 PyObject
* obj4
= 0 ;
15582 PyObject
* obj5
= 0 ;
15583 PyObject
* obj6
= 0 ;
15584 char * kwnames
[] = {
15585 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15590 if (!SWIG_IsOK(res1
)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15593 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15595 if (!SWIG_IsOK(res2
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15601 if (!SWIG_IsOK(ecode3
)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15604 arg3
= static_cast< int >(val3
);
15609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15619 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15620 if (!SWIG_IsOK(ecode6
)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15623 arg6
= static_cast< long >(val6
);
15627 arg7
= wxString_in_helper(obj6
);
15628 if (arg7
== NULL
) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15655 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
= 0;
15657 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 char * kwnames
[] = {
15666 (char *) "self",(char *) "count", NULL
15669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15671 if (!SWIG_IsOK(res1
)) {
15672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15674 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15675 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15676 if (!SWIG_IsOK(ecode2
)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15679 arg2
= static_cast< size_t >(val2
);
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 (arg1
)->SetItemCount(arg2
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_Py_Void();
15693 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 PyObject
*resultobj
= 0;
15695 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15696 wxFileSystem
*result
= 0 ;
15699 PyObject
*swig_obj
[1] ;
15701 if (!args
) SWIG_fail
;
15702 swig_obj
[0] = args
;
15703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15704 if (!SWIG_IsOK(res1
)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15707 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15712 result
= (wxFileSystem
*) &_result_ref
;
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15724 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
= 0;
15726 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15728 wxHtmlLinkInfo
*arg3
= 0 ;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 PyObject
* obj2
= 0 ;
15738 char * kwnames
[] = {
15739 (char *) "self",(char *) "n",(char *) "link", NULL
15742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15747 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15748 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15749 if (!SWIG_IsOK(ecode2
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15752 arg2
= static_cast< size_t >(val2
);
15753 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15754 if (!SWIG_IsOK(res3
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15760 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_Py_Void();
15774 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15777 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15778 return SWIG_Py_Void();
15781 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15782 return SWIG_Python_InitShadowInstance(args
);
15785 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 PyObject
*resultobj
= 0;
15787 wxPyTaskBarIcon
*result
= 0 ;
15789 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15791 if (!wxPyCheckForApp()) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15804 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 PyObject
*resultobj
= 0;
15806 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15809 PyObject
*swig_obj
[1] ;
15811 if (!args
) SWIG_fail
;
15812 swig_obj
[0] = args
;
15813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15814 if (!SWIG_IsOK(res1
)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15817 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_Py_Void();
15832 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= 0;
15834 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15835 PyObject
*arg2
= (PyObject
*) 0 ;
15836 PyObject
*arg3
= (PyObject
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 PyObject
* obj2
= 0 ;
15845 PyObject
* obj3
= 0 ;
15846 char * kwnames
[] = {
15847 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15852 if (!SWIG_IsOK(res1
)) {
15853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15855 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15859 if (!SWIG_IsOK(ecode4
)) {
15860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15862 arg4
= static_cast< int >(val4
);
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_Py_Void();
15876 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15877 PyObject
*resultobj
= 0;
15878 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15881 PyObject
*swig_obj
[1] ;
15883 if (!args
) SWIG_fail
;
15884 swig_obj
[0] = args
;
15885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15889 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 wxPyTaskBarIcon_Destroy(arg1
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_Py_Void();
15903 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15904 PyObject
*resultobj
= 0;
15905 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15909 PyObject
*swig_obj
[1] ;
15911 if (!args
) SWIG_fail
;
15912 swig_obj
[0] = args
;
15913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15914 if (!SWIG_IsOK(res1
)) {
15915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15917 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15933 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15939 PyObject
*swig_obj
[1] ;
15941 if (!args
) SWIG_fail
;
15942 swig_obj
[0] = args
;
15943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15947 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15963 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
= 0;
15965 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15967 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15968 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15974 bool temp3
= false ;
15975 PyObject
* obj0
= 0 ;
15976 PyObject
* obj1
= 0 ;
15977 PyObject
* obj2
= 0 ;
15978 char * kwnames
[] = {
15979 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15984 if (!SWIG_IsOK(res1
)) {
15985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15987 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15989 if (!SWIG_IsOK(res2
)) {
15990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15995 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15998 arg3
= wxString_in_helper(obj2
);
15999 if (arg3
== NULL
) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16026 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16027 PyObject
*resultobj
= 0;
16028 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16032 PyObject
*swig_obj
[1] ;
16034 if (!args
) SWIG_fail
;
16035 swig_obj
[0] = args
;
16036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16037 if (!SWIG_IsOK(res1
)) {
16038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16040 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (bool)(arg1
)->RemoveIcon();
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16056 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
= 0;
16058 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16059 wxMenu
*arg2
= (wxMenu
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 char * kwnames
[] = {
16068 (char *) "self",(char *) "menu", NULL
16071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16073 if (!SWIG_IsOK(res1
)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16076 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16078 if (!SWIG_IsOK(res2
)) {
16079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16081 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)(arg1
)->PopupMenu(arg2
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16097 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16101 return SWIG_Py_Void();
16104 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16105 return SWIG_Python_InitShadowInstance(args
);
16108 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
= 0;
16111 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16112 wxTaskBarIconEvent
*result
= 0 ;
16117 PyObject
* obj0
= 0 ;
16118 PyObject
* obj1
= 0 ;
16119 char * kwnames
[] = {
16120 (char *) "evtType",(char *) "tbIcon", NULL
16123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16125 if (!SWIG_IsOK(ecode1
)) {
16126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16128 arg1
= static_cast< wxEventType
>(val1
);
16129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16130 if (!SWIG_IsOK(res2
)) {
16131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16133 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16147 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16150 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16151 return SWIG_Py_Void();
16154 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 return SWIG_Python_InitShadowInstance(args
);
16158 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16159 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16164 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16165 PyObject
*pyobj
= 0;
16169 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16171 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16178 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16179 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16184 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16185 PyObject
*pyobj
= 0;
16189 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16191 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16198 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16199 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16204 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16205 PyObject
*pyobj
= 0;
16209 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16211 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16218 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16219 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16224 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16225 PyObject
*pyobj
= 0;
16229 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16231 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16238 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16239 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16244 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16245 PyObject
*pyobj
= 0;
16249 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16251 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16258 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16259 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16264 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16265 PyObject
*pyobj
= 0;
16269 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16271 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16278 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16279 PyObject
*resultobj
= 0;
16280 wxColourData
*result
= 0 ;
16282 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (wxColourData
*)new wxColourData();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16296 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16297 PyObject
*resultobj
= 0;
16298 wxColourData
*arg1
= (wxColourData
*) 0 ;
16301 PyObject
*swig_obj
[1] ;
16303 if (!args
) SWIG_fail
;
16304 swig_obj
[0] = args
;
16305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16306 if (!SWIG_IsOK(res1
)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16309 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= SWIG_Py_Void();
16324 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 PyObject
*resultobj
= 0;
16326 wxColourData
*arg1
= (wxColourData
*) 0 ;
16330 PyObject
*swig_obj
[1] ;
16332 if (!args
) SWIG_fail
;
16333 swig_obj
[0] = args
;
16334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16338 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= (bool)(arg1
)->GetChooseFull();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16355 PyObject
*resultobj
= 0;
16356 wxColourData
*arg1
= (wxColourData
*) 0 ;
16360 PyObject
*swig_obj
[1] ;
16362 if (!args
) SWIG_fail
;
16363 swig_obj
[0] = args
;
16364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16365 if (!SWIG_IsOK(res1
)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16368 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (arg1
)->GetColour();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16382 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16384 wxColourData
*arg1
= (wxColourData
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 char * kwnames
[] = {
16394 (char *) "self",(char *) "i", NULL
16397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16399 if (!SWIG_IsOK(res1
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16402 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16404 if (!SWIG_IsOK(ecode2
)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16407 arg2
= static_cast< int >(val2
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (arg1
)->GetCustomColour(arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16421 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
= 0;
16423 wxColourData
*arg1
= (wxColourData
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char * kwnames
[] = {
16432 (char *) "self",(char *) "flag", NULL
16435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16437 if (!SWIG_IsOK(res1
)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16440 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16442 if (!SWIG_IsOK(ecode2
)) {
16443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16445 arg2
= static_cast< int >(val2
);
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 (arg1
)->SetChooseFull(arg2
);
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= SWIG_Py_Void();
16459 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
= 0;
16461 wxColourData
*arg1
= (wxColourData
*) 0 ;
16462 wxColour
*arg2
= 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char * kwnames
[] = {
16469 (char *) "self",(char *) "colour", NULL
16472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16474 if (!SWIG_IsOK(res1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16477 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16480 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 (arg1
)->SetColour((wxColour
const &)*arg2
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_Py_Void();
16495 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
= 0;
16497 wxColourData
*arg1
= (wxColourData
*) 0 ;
16499 wxColour
*arg3
= 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 PyObject
* obj2
= 0 ;
16508 char * kwnames
[] = {
16509 (char *) "self",(char *) "i",(char *) "colour", NULL
16512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16514 if (!SWIG_IsOK(res1
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16517 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16519 if (!SWIG_IsOK(ecode2
)) {
16520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16522 arg2
= static_cast< int >(val2
);
16525 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_Py_Void();
16540 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16543 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16544 return SWIG_Py_Void();
16547 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16548 return SWIG_Python_InitShadowInstance(args
);
16551 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
= 0;
16553 wxWindow
*arg1
= (wxWindow
*) 0 ;
16554 wxColourData
*arg2
= (wxColourData
*) NULL
;
16555 wxColourDialog
*result
= 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char * kwnames
[] = {
16563 (char *) "parent",(char *) "data", NULL
16566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16568 if (!SWIG_IsOK(res1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16574 if (!SWIG_IsOK(res2
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16577 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16580 if (!wxPyCheckForApp()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16593 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16594 PyObject
*resultobj
= 0;
16595 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16596 wxColourData
*result
= 0 ;
16599 PyObject
*swig_obj
[1] ;
16601 if (!args
) SWIG_fail
;
16602 swig_obj
[0] = args
;
16603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16607 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16612 result
= (wxColourData
*) &_result_ref
;
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16624 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16627 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16628 return SWIG_Py_Void();
16631 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16632 return SWIG_Python_InitShadowInstance(args
);
16635 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
= 0;
16637 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16638 wxColour
const &arg2_defvalue
= wxNullColour
;
16639 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16640 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16641 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16646 bool temp3
= false ;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 PyObject
* obj2
= 0 ;
16650 char * kwnames
[] = {
16651 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16657 if (!SWIG_IsOK(res1
)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16670 arg3
= wxString_in_helper(obj2
);
16671 if (arg3
== NULL
) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16696 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
= 0;
16698 wxWindow
*arg1
= (wxWindow
*) 0 ;
16699 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16700 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16701 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16702 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16703 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16708 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16710 wxDirDialog
*result
= 0 ;
16713 bool temp2
= false ;
16714 bool temp3
= false ;
16719 bool temp7
= false ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 PyObject
* obj2
= 0 ;
16723 PyObject
* obj3
= 0 ;
16724 PyObject
* obj4
= 0 ;
16725 PyObject
* obj5
= 0 ;
16726 PyObject
* obj6
= 0 ;
16727 char * kwnames
[] = {
16728 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16739 arg2
= wxString_in_helper(obj1
);
16740 if (arg2
== NULL
) SWIG_fail
;
16746 arg3
= wxString_in_helper(obj2
);
16747 if (arg3
== NULL
) SWIG_fail
;
16752 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16753 if (!SWIG_IsOK(ecode4
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16756 arg4
= static_cast< long >(val4
);
16761 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16767 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16772 arg7
= wxString_in_helper(obj6
);
16773 if (arg7
== NULL
) SWIG_fail
;
16778 if (!wxPyCheckForApp()) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16815 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16816 PyObject
*resultobj
= 0;
16817 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16821 PyObject
*swig_obj
[1] ;
16823 if (!args
) SWIG_fail
;
16824 swig_obj
[0] = args
;
16825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16826 if (!SWIG_IsOK(res1
)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16829 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (arg1
)->GetPath();
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16849 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16850 PyObject
*resultobj
= 0;
16851 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16855 PyObject
*swig_obj
[1] ;
16857 if (!args
) SWIG_fail
;
16858 swig_obj
[0] = args
;
16859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16860 if (!SWIG_IsOK(res1
)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16863 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= (arg1
)->GetMessage();
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16883 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
= 0;
16885 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16886 wxString
*arg2
= 0 ;
16889 bool temp2
= false ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char * kwnames
[] = {
16893 (char *) "self",(char *) "message", NULL
16896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16898 if (!SWIG_IsOK(res1
)) {
16899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16901 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16903 arg2
= wxString_in_helper(obj1
);
16904 if (arg2
== NULL
) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 (arg1
)->SetMessage((wxString
const &)*arg2
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= SWIG_Py_Void();
16928 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
= 0;
16930 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16931 wxString
*arg2
= 0 ;
16934 bool temp2
= false ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 char * kwnames
[] = {
16938 (char *) "self",(char *) "path", NULL
16941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16943 if (!SWIG_IsOK(res1
)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16946 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16948 arg2
= wxString_in_helper(obj1
);
16949 if (arg2
== NULL
) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 (arg1
)->SetPath((wxString
const &)*arg2
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= SWIG_Py_Void();
16973 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16976 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16977 return SWIG_Py_Void();
16980 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16981 return SWIG_Python_InitShadowInstance(args
);
16984 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
= 0;
16986 wxWindow
*arg1
= (wxWindow
*) 0 ;
16987 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16988 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16991 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16992 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16993 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16994 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16995 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16996 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16997 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16998 wxFileDialog
*result
= 0 ;
17001 bool temp2
= false ;
17002 bool temp3
= false ;
17003 bool temp4
= false ;
17004 bool temp5
= false ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 PyObject
* obj2
= 0 ;
17011 PyObject
* obj3
= 0 ;
17012 PyObject
* obj4
= 0 ;
17013 PyObject
* obj5
= 0 ;
17014 PyObject
* obj6
= 0 ;
17015 char * kwnames
[] = {
17016 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17021 if (!SWIG_IsOK(res1
)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17024 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17027 arg2
= wxString_in_helper(obj1
);
17028 if (arg2
== NULL
) SWIG_fail
;
17034 arg3
= wxString_in_helper(obj2
);
17035 if (arg3
== NULL
) SWIG_fail
;
17041 arg4
= wxString_in_helper(obj3
);
17042 if (arg4
== NULL
) SWIG_fail
;
17048 arg5
= wxString_in_helper(obj4
);
17049 if (arg5
== NULL
) SWIG_fail
;
17054 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17055 if (!SWIG_IsOK(ecode6
)) {
17056 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17058 arg6
= static_cast< long >(val6
);
17063 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17067 if (!wxPyCheckForApp()) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17112 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
= 0;
17114 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17115 wxString
*arg2
= 0 ;
17118 bool temp2
= false ;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 char * kwnames
[] = {
17122 (char *) "self",(char *) "message", NULL
17125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17127 if (!SWIG_IsOK(res1
)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17130 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17132 arg2
= wxString_in_helper(obj1
);
17133 if (arg2
== NULL
) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 (arg1
)->SetMessage((wxString
const &)*arg2
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= SWIG_Py_Void();
17157 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
= 0;
17159 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17160 wxString
*arg2
= 0 ;
17163 bool temp2
= false ;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 char * kwnames
[] = {
17167 (char *) "self",(char *) "path", NULL
17170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17172 if (!SWIG_IsOK(res1
)) {
17173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17175 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17177 arg2
= wxString_in_helper(obj1
);
17178 if (arg2
== NULL
) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 (arg1
)->SetPath((wxString
const &)*arg2
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_Py_Void();
17202 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
= 0;
17204 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17205 wxString
*arg2
= 0 ;
17208 bool temp2
= false ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char * kwnames
[] = {
17212 (char *) "self",(char *) "dir", NULL
17215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17217 if (!SWIG_IsOK(res1
)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17220 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17222 arg2
= wxString_in_helper(obj1
);
17223 if (arg2
== NULL
) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_Py_Void();
17247 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
= 0;
17249 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17250 wxString
*arg2
= 0 ;
17253 bool temp2
= false ;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 char * kwnames
[] = {
17257 (char *) "self",(char *) "name", NULL
17260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17262 if (!SWIG_IsOK(res1
)) {
17263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17265 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17267 arg2
= wxString_in_helper(obj1
);
17268 if (arg2
== NULL
) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 (arg1
)->SetFilename((wxString
const &)*arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_Py_Void();
17292 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
= 0;
17294 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17295 wxString
*arg2
= 0 ;
17298 bool temp2
= false ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char * kwnames
[] = {
17302 (char *) "self",(char *) "wildCard", NULL
17305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17310 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17312 arg2
= wxString_in_helper(obj1
);
17313 if (arg2
== NULL
) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_Py_Void();
17337 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
= 0;
17339 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 char * kwnames
[] = {
17348 (char *) "self",(char *) "filterIndex", NULL
17351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17353 if (!SWIG_IsOK(res1
)) {
17354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17356 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17358 if (!SWIG_IsOK(ecode2
)) {
17359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17361 arg2
= static_cast< int >(val2
);
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 (arg1
)->SetFilterIndex(arg2
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= SWIG_Py_Void();
17375 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17376 PyObject
*resultobj
= 0;
17377 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17381 PyObject
*swig_obj
[1] ;
17383 if (!args
) SWIG_fail
;
17384 swig_obj
[0] = args
;
17385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17386 if (!SWIG_IsOK(res1
)) {
17387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17389 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17409 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17410 PyObject
*resultobj
= 0;
17411 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17415 PyObject
*swig_obj
[1] ;
17417 if (!args
) SWIG_fail
;
17418 swig_obj
[0] = args
;
17419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17420 if (!SWIG_IsOK(res1
)) {
17421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17423 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17443 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17444 PyObject
*resultobj
= 0;
17445 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17449 PyObject
*swig_obj
[1] ;
17451 if (!args
) SWIG_fail
;
17452 swig_obj
[0] = args
;
17453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17454 if (!SWIG_IsOK(res1
)) {
17455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17457 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17477 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17478 PyObject
*resultobj
= 0;
17479 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17483 PyObject
*swig_obj
[1] ;
17485 if (!args
) SWIG_fail
;
17486 swig_obj
[0] = args
;
17487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17488 if (!SWIG_IsOK(res1
)) {
17489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17491 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17511 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17512 PyObject
*resultobj
= 0;
17513 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17517 PyObject
*swig_obj
[1] ;
17519 if (!args
) SWIG_fail
;
17520 swig_obj
[0] = args
;
17521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17522 if (!SWIG_IsOK(res1
)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17525 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17545 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17546 PyObject
*resultobj
= 0;
17547 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17551 PyObject
*swig_obj
[1] ;
17553 if (!args
) SWIG_fail
;
17554 swig_obj
[0] = args
;
17555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17556 if (!SWIG_IsOK(res1
)) {
17557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17559 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_From_int(static_cast< int >(result
));
17573 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17574 PyObject
*resultobj
= 0;
17575 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17576 PyObject
*result
= 0 ;
17579 PyObject
*swig_obj
[1] ;
17581 if (!args
) SWIG_fail
;
17582 swig_obj
[0] = args
;
17583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17584 if (!SWIG_IsOK(res1
)) {
17585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17587 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= result
;
17601 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17602 PyObject
*resultobj
= 0;
17603 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17604 PyObject
*result
= 0 ;
17607 PyObject
*swig_obj
[1] ;
17609 if (!args
) SWIG_fail
;
17610 swig_obj
[0] = args
;
17611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17612 if (!SWIG_IsOK(res1
)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17615 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= result
;
17629 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17632 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17633 return SWIG_Py_Void();
17636 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17637 return SWIG_Python_InitShadowInstance(args
);
17640 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
= 0;
17642 wxWindow
*arg1
= (wxWindow
*) 0 ;
17643 wxString
*arg2
= 0 ;
17644 wxString
*arg3
= 0 ;
17645 int arg4
= (int) 0 ;
17646 wxString
*arg5
= (wxString
*) NULL
;
17647 long arg6
= (long) wxCHOICEDLG_STYLE
;
17648 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17649 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17650 wxMultiChoiceDialog
*result
= 0 ;
17653 bool temp2
= false ;
17654 bool temp3
= false ;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 PyObject
* obj3
= 0 ;
17662 PyObject
* obj4
= 0 ;
17663 PyObject
* obj5
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17675 arg2
= wxString_in_helper(obj1
);
17676 if (arg2
== NULL
) SWIG_fail
;
17680 arg3
= wxString_in_helper(obj2
);
17681 if (arg3
== NULL
) SWIG_fail
;
17686 arg4
= PyList_Size(obj3
);
17687 arg5
= wxString_LIST_helper(obj3
);
17688 if (arg5
== NULL
) SWIG_fail
;
17692 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17693 if (!SWIG_IsOK(ecode6
)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17696 arg6
= static_cast< long >(val6
);
17701 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17705 if (!wxPyCheckForApp()) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17721 if (arg5
) delete [] arg5
;
17734 if (arg5
) delete [] arg5
;
17740 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
= 0;
17742 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17743 wxArrayInt
*arg2
= 0 ;
17746 bool temp2
= false ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 char * kwnames
[] = {
17750 (char *) "self",(char *) "selections", NULL
17753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17755 if (!SWIG_IsOK(res1
)) {
17756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17758 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17760 if (! PySequence_Check(obj1
)) {
17761 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17764 arg2
= new wxArrayInt
;
17766 int i
, len
=PySequence_Length(obj1
);
17767 for (i
=0; i
<len
; i
++) {
17768 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17769 PyObject
* number
= PyNumber_Int(item
);
17770 arg2
->Add(PyInt_AS_LONG(number
));
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_Py_Void();
17783 if (temp2
) delete arg2
;
17788 if (temp2
) delete arg2
;
17794 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17795 PyObject
*resultobj
= 0;
17796 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17797 PyObject
*result
= 0 ;
17800 PyObject
*swig_obj
[1] ;
17802 if (!args
) SWIG_fail
;
17803 swig_obj
[0] = args
;
17804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17805 if (!SWIG_IsOK(res1
)) {
17806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17808 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= result
;
17822 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17825 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17826 return SWIG_Py_Void();
17829 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17830 return SWIG_Python_InitShadowInstance(args
);
17833 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
= 0;
17835 wxWindow
*arg1
= (wxWindow
*) 0 ;
17836 wxString
*arg2
= 0 ;
17837 wxString
*arg3
= 0 ;
17839 wxString
*arg5
= (wxString
*) 0 ;
17840 long arg6
= (long) wxCHOICEDLG_STYLE
;
17841 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17842 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17843 wxSingleChoiceDialog
*result
= 0 ;
17846 bool temp2
= false ;
17847 bool temp3
= false ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 PyObject
* obj2
= 0 ;
17854 PyObject
* obj3
= 0 ;
17855 PyObject
* obj4
= 0 ;
17856 PyObject
* obj5
= 0 ;
17857 char * kwnames
[] = {
17858 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17863 if (!SWIG_IsOK(res1
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17868 arg2
= wxString_in_helper(obj1
);
17869 if (arg2
== NULL
) SWIG_fail
;
17873 arg3
= wxString_in_helper(obj2
);
17874 if (arg3
== NULL
) SWIG_fail
;
17878 arg4
= PyList_Size(obj3
);
17879 arg5
= wxString_LIST_helper(obj3
);
17880 if (arg5
== NULL
) SWIG_fail
;
17883 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17884 if (!SWIG_IsOK(ecode6
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17887 arg6
= static_cast< long >(val6
);
17892 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17896 if (!wxPyCheckForApp()) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17912 if (arg5
) delete [] arg5
;
17925 if (arg5
) delete [] arg5
;
17931 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17932 PyObject
*resultobj
= 0;
17933 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17937 PyObject
*swig_obj
[1] ;
17939 if (!args
) SWIG_fail
;
17940 swig_obj
[0] = args
;
17941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17942 if (!SWIG_IsOK(res1
)) {
17943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17945 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= (int)(arg1
)->GetSelection();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= SWIG_From_int(static_cast< int >(result
));
17959 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17960 PyObject
*resultobj
= 0;
17961 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17965 PyObject
*swig_obj
[1] ;
17967 if (!args
) SWIG_fail
;
17968 swig_obj
[0] = args
;
17969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17970 if (!SWIG_IsOK(res1
)) {
17971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17973 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (arg1
)->GetStringSelection();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17993 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 char * kwnames
[] = {
18004 (char *) "self",(char *) "sel", NULL
18007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18012 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18014 if (!SWIG_IsOK(ecode2
)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18017 arg2
= static_cast< int >(val2
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 (arg1
)->SetSelection(arg2
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= SWIG_Py_Void();
18031 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18034 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18035 return SWIG_Py_Void();
18038 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 return SWIG_Python_InitShadowInstance(args
);
18042 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
= 0;
18044 wxWindow
*arg1
= (wxWindow
*) 0 ;
18045 wxString
*arg2
= 0 ;
18046 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18050 long arg5
= (long) wxTextEntryDialogStyle
;
18051 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18052 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18053 wxTextEntryDialog
*result
= 0 ;
18056 bool temp2
= false ;
18057 bool temp3
= false ;
18058 bool temp4
= false ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 PyObject
* obj2
= 0 ;
18065 PyObject
* obj3
= 0 ;
18066 PyObject
* obj4
= 0 ;
18067 PyObject
* obj5
= 0 ;
18068 char * kwnames
[] = {
18069 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18074 if (!SWIG_IsOK(res1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18079 arg2
= wxString_in_helper(obj1
);
18080 if (arg2
== NULL
) SWIG_fail
;
18085 arg3
= wxString_in_helper(obj2
);
18086 if (arg3
== NULL
) SWIG_fail
;
18092 arg4
= wxString_in_helper(obj3
);
18093 if (arg4
== NULL
) SWIG_fail
;
18098 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18099 if (!SWIG_IsOK(ecode5
)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18102 arg5
= static_cast< long >(val5
);
18107 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18111 if (!wxPyCheckForApp()) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18148 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18149 PyObject
*resultobj
= 0;
18150 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18154 PyObject
*swig_obj
[1] ;
18156 if (!args
) SWIG_fail
;
18157 swig_obj
[0] = args
;
18158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18159 if (!SWIG_IsOK(res1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18162 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= (arg1
)->GetValue();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18182 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= 0;
18184 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18185 wxString
*arg2
= 0 ;
18188 bool temp2
= false ;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 char * kwnames
[] = {
18192 (char *) "self",(char *) "value", NULL
18195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18197 if (!SWIG_IsOK(res1
)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18200 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18202 arg2
= wxString_in_helper(obj1
);
18203 if (arg2
== NULL
) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->SetValue((wxString
const &)*arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_Py_Void();
18227 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18230 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18231 return SWIG_Py_Void();
18234 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18235 return SWIG_Python_InitShadowInstance(args
);
18238 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18239 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18244 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18245 PyObject
*pyobj
= 0;
18249 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18251 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18258 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
= 0;
18260 wxWindow
*arg1
= (wxWindow
*) 0 ;
18261 wxString
*arg2
= 0 ;
18262 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18264 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18265 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18266 long arg5
= (long) wxTextEntryDialogStyle
;
18267 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18268 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18269 wxPasswordEntryDialog
*result
= 0 ;
18272 bool temp2
= false ;
18273 bool temp3
= false ;
18274 bool temp4
= false ;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 PyObject
* obj2
= 0 ;
18281 PyObject
* obj3
= 0 ;
18282 PyObject
* obj4
= 0 ;
18283 PyObject
* obj5
= 0 ;
18284 char * kwnames
[] = {
18285 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18295 arg2
= wxString_in_helper(obj1
);
18296 if (arg2
== NULL
) SWIG_fail
;
18301 arg3
= wxString_in_helper(obj2
);
18302 if (arg3
== NULL
) SWIG_fail
;
18308 arg4
= wxString_in_helper(obj3
);
18309 if (arg4
== NULL
) SWIG_fail
;
18314 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18315 if (!SWIG_IsOK(ecode5
)) {
18316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18318 arg5
= static_cast< long >(val5
);
18323 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18363 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18366 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18367 return SWIG_Py_Void();
18370 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18371 return SWIG_Python_InitShadowInstance(args
);
18374 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 PyObject
*resultobj
= 0;
18376 wxFontData
*result
= 0 ;
18378 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (wxFontData
*)new wxFontData();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18392 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18393 PyObject
*resultobj
= 0;
18394 wxFontData
*arg1
= (wxFontData
*) 0 ;
18397 PyObject
*swig_obj
[1] ;
18399 if (!args
) SWIG_fail
;
18400 swig_obj
[0] = args
;
18401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18402 if (!SWIG_IsOK(res1
)) {
18403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18405 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 resultobj
= SWIG_Py_Void();
18420 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
= 0;
18422 wxFontData
*arg1
= (wxFontData
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char * kwnames
[] = {
18431 (char *) "self",(char *) "enable", NULL
18434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18436 if (!SWIG_IsOK(res1
)) {
18437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18439 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18440 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18441 if (!SWIG_IsOK(ecode2
)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18444 arg2
= static_cast< bool >(val2
);
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 (arg1
)->EnableEffects(arg2
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_Py_Void();
18458 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18459 PyObject
*resultobj
= 0;
18460 wxFontData
*arg1
= (wxFontData
*) 0 ;
18464 PyObject
*swig_obj
[1] ;
18466 if (!args
) SWIG_fail
;
18467 swig_obj
[0] = args
;
18468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18469 if (!SWIG_IsOK(res1
)) {
18470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18472 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (bool)(arg1
)->GetAllowSymbols();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18488 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18489 PyObject
*resultobj
= 0;
18490 wxFontData
*arg1
= (wxFontData
*) 0 ;
18494 PyObject
*swig_obj
[1] ;
18496 if (!args
) SWIG_fail
;
18497 swig_obj
[0] = args
;
18498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18499 if (!SWIG_IsOK(res1
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18502 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (arg1
)->GetColour();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18516 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18517 PyObject
*resultobj
= 0;
18518 wxFontData
*arg1
= (wxFontData
*) 0 ;
18522 PyObject
*swig_obj
[1] ;
18524 if (!args
) SWIG_fail
;
18525 swig_obj
[0] = args
;
18526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18527 if (!SWIG_IsOK(res1
)) {
18528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18530 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (arg1
)->GetChosenFont();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18544 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18545 PyObject
*resultobj
= 0;
18546 wxFontData
*arg1
= (wxFontData
*) 0 ;
18550 PyObject
*swig_obj
[1] ;
18552 if (!args
) SWIG_fail
;
18553 swig_obj
[0] = args
;
18554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18555 if (!SWIG_IsOK(res1
)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18558 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (bool)(arg1
)->GetEnableEffects();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18574 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18575 PyObject
*resultobj
= 0;
18576 wxFontData
*arg1
= (wxFontData
*) 0 ;
18580 PyObject
*swig_obj
[1] ;
18582 if (!args
) SWIG_fail
;
18583 swig_obj
[0] = args
;
18584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18585 if (!SWIG_IsOK(res1
)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18588 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (arg1
)->GetInitialFont();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18602 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18603 PyObject
*resultobj
= 0;
18604 wxFontData
*arg1
= (wxFontData
*) 0 ;
18608 PyObject
*swig_obj
[1] ;
18610 if (!args
) SWIG_fail
;
18611 swig_obj
[0] = args
;
18612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18613 if (!SWIG_IsOK(res1
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18616 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (bool)(arg1
)->GetShowHelp();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18632 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
= 0;
18634 wxFontData
*arg1
= (wxFontData
*) 0 ;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 char * kwnames
[] = {
18643 (char *) "self",(char *) "allowSymbols", NULL
18646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18648 if (!SWIG_IsOK(res1
)) {
18649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18651 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18652 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18653 if (!SWIG_IsOK(ecode2
)) {
18654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18656 arg2
= static_cast< bool >(val2
);
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 (arg1
)->SetAllowSymbols(arg2
);
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= SWIG_Py_Void();
18670 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
= 0;
18672 wxFontData
*arg1
= (wxFontData
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 char * kwnames
[] = {
18681 (char *) "self",(char *) "font", NULL
18684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18686 if (!SWIG_IsOK(res1
)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18689 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18691 if (!SWIG_IsOK(res2
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18697 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_Py_Void();
18711 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
= 0;
18713 wxFontData
*arg1
= (wxFontData
*) 0 ;
18714 wxColour
*arg2
= 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char * kwnames
[] = {
18721 (char *) "self",(char *) "colour", NULL
18724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18726 if (!SWIG_IsOK(res1
)) {
18727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18729 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18732 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 (arg1
)->SetColour((wxColour
const &)*arg2
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_Py_Void();
18747 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
= 0;
18749 wxFontData
*arg1
= (wxFontData
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 char * kwnames
[] = {
18758 (char *) "self",(char *) "font", NULL
18761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18766 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18768 if (!SWIG_IsOK(res2
)) {
18769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18774 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_Py_Void();
18788 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxFontData
*arg1
= (wxFontData
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 PyObject
* obj2
= 0 ;
18802 char * kwnames
[] = {
18803 (char *) "self",(char *) "min",(char *) "max", NULL
18806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18811 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18813 if (!SWIG_IsOK(ecode2
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18816 arg2
= static_cast< int >(val2
);
18817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18818 if (!SWIG_IsOK(ecode3
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18821 arg3
= static_cast< int >(val3
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->SetRange(arg2
,arg3
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxFontData
*arg1
= (wxFontData
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 char * kwnames
[] = {
18846 (char *) "self",(char *) "showHelp", NULL
18849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18854 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18856 if (!SWIG_IsOK(ecode2
)) {
18857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18859 arg2
= static_cast< bool >(val2
);
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 (arg1
)->SetShowHelp(arg2
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_Py_Void();
18873 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18876 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18877 return SWIG_Py_Void();
18880 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18881 return SWIG_Python_InitShadowInstance(args
);
18884 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
= 0;
18886 wxWindow
*arg1
= (wxWindow
*) 0 ;
18887 wxFontData
*arg2
= 0 ;
18888 wxFontDialog
*result
= 0 ;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 char * kwnames
[] = {
18896 (char *) "parent",(char *) "data", NULL
18899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18901 if (!SWIG_IsOK(res1
)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18906 if (!SWIG_IsOK(res2
)) {
18907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18912 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18914 if (!wxPyCheckForApp()) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18927 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18928 PyObject
*resultobj
= 0;
18929 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18930 wxFontData
*result
= 0 ;
18933 PyObject
*swig_obj
[1] ;
18935 if (!args
) SWIG_fail
;
18936 swig_obj
[0] = args
;
18937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18938 if (!SWIG_IsOK(res1
)) {
18939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18941 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18946 result
= (wxFontData
*) &_result_ref
;
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18958 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18961 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18962 return SWIG_Py_Void();
18965 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18966 return SWIG_Python_InitShadowInstance(args
);
18969 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
= 0;
18971 wxWindow
*arg1
= (wxWindow
*) NULL
;
18972 wxFont
const &arg2_defvalue
= wxNullFont
;
18973 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18974 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18975 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18981 bool temp3
= false ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 PyObject
* obj2
= 0 ;
18985 char * kwnames
[] = {
18986 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18992 if (!SWIG_IsOK(res1
)) {
18993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18999 if (!SWIG_IsOK(res2
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19005 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19009 arg3
= wxString_in_helper(obj2
);
19010 if (arg3
== NULL
) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19035 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
= 0;
19037 wxWindow
*arg1
= (wxWindow
*) 0 ;
19038 wxString
*arg2
= 0 ;
19039 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19041 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19042 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19043 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19044 wxMessageDialog
*result
= 0 ;
19047 bool temp2
= false ;
19048 bool temp3
= false ;
19052 PyObject
* obj0
= 0 ;
19053 PyObject
* obj1
= 0 ;
19054 PyObject
* obj2
= 0 ;
19055 PyObject
* obj3
= 0 ;
19056 PyObject
* obj4
= 0 ;
19057 char * kwnames
[] = {
19058 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19068 arg2
= wxString_in_helper(obj1
);
19069 if (arg2
== NULL
) SWIG_fail
;
19074 arg3
= wxString_in_helper(obj2
);
19075 if (arg3
== NULL
) SWIG_fail
;
19080 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19081 if (!SWIG_IsOK(ecode4
)) {
19082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19084 arg4
= static_cast< long >(val4
);
19089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19093 if (!wxPyCheckForApp()) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19122 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19125 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19126 return SWIG_Py_Void();
19129 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19130 return SWIG_Python_InitShadowInstance(args
);
19133 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxString
*arg1
= 0 ;
19136 wxString
*arg2
= 0 ;
19137 int arg3
= (int) 100 ;
19138 wxWindow
*arg4
= (wxWindow
*) NULL
;
19139 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19140 wxProgressDialog
*result
= 0 ;
19141 bool temp1
= false ;
19142 bool temp2
= false ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 PyObject
* obj2
= 0 ;
19152 PyObject
* obj3
= 0 ;
19153 PyObject
* obj4
= 0 ;
19154 char * kwnames
[] = {
19155 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19160 arg1
= wxString_in_helper(obj0
);
19161 if (arg1
== NULL
) SWIG_fail
;
19165 arg2
= wxString_in_helper(obj1
);
19166 if (arg2
== NULL
) SWIG_fail
;
19170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19171 if (!SWIG_IsOK(ecode3
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19174 arg3
= static_cast< int >(val3
);
19177 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19178 if (!SWIG_IsOK(res4
)) {
19179 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19181 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19184 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19185 if (!SWIG_IsOK(ecode5
)) {
19186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19188 arg5
= static_cast< int >(val5
);
19191 if (!wxPyCheckForApp()) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19220 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
= 0;
19222 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19224 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19225 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19226 bool *arg4
= (bool *) 0 ;
19232 bool temp3
= false ;
19234 int res4
= SWIG_TMPOBJ
;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 PyObject
* obj2
= 0 ;
19238 char * kwnames
[] = {
19239 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19245 if (!SWIG_IsOK(res1
)) {
19246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19248 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19250 if (!SWIG_IsOK(ecode2
)) {
19251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19253 arg2
= static_cast< int >(val2
);
19256 arg3
= wxString_in_helper(obj2
);
19257 if (arg3
== NULL
) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19270 if (SWIG_IsTmpObj(res4
)) {
19271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19273 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19290 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19291 PyObject
*resultobj
= 0;
19292 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19295 PyObject
*swig_obj
[1] ;
19297 if (!args
) SWIG_fail
;
19298 swig_obj
[0] = args
;
19299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19303 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= SWIG_Py_Void();
19317 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19320 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19321 return SWIG_Py_Void();
19324 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19325 return SWIG_Python_InitShadowInstance(args
);
19328 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
= 0;
19330 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19331 int arg2
= (int) 0 ;
19332 wxFindDialogEvent
*result
= 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char * kwnames
[] = {
19340 (char *) "commandType",(char *) "id", NULL
19343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19346 if (!SWIG_IsOK(ecode1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19349 arg1
= static_cast< wxEventType
>(val1
);
19352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19353 if (!SWIG_IsOK(ecode2
)) {
19354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19356 arg2
= static_cast< int >(val2
);
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19371 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19372 PyObject
*resultobj
= 0;
19373 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19377 PyObject
*swig_obj
[1] ;
19379 if (!args
) SWIG_fail
;
19380 swig_obj
[0] = args
;
19381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19382 if (!SWIG_IsOK(res1
)) {
19383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19385 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (int)(arg1
)->GetFlags();
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= SWIG_From_int(static_cast< int >(result
));
19399 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19400 PyObject
*resultobj
= 0;
19401 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19402 wxString
*result
= 0 ;
19405 PyObject
*swig_obj
[1] ;
19407 if (!args
) SWIG_fail
;
19408 swig_obj
[0] = args
;
19409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19413 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 wxString
const &_result_ref
= (arg1
)->GetFindString();
19418 result
= (wxString
*) &_result_ref
;
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19427 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19436 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19437 PyObject
*resultobj
= 0;
19438 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19439 wxString
*result
= 0 ;
19442 PyObject
*swig_obj
[1] ;
19444 if (!args
) SWIG_fail
;
19445 swig_obj
[0] = args
;
19446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19447 if (!SWIG_IsOK(res1
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19450 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19455 result
= (wxString
*) &_result_ref
;
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19464 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19473 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19474 PyObject
*resultobj
= 0;
19475 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19476 wxFindReplaceDialog
*result
= 0 ;
19479 PyObject
*swig_obj
[1] ;
19481 if (!args
) SWIG_fail
;
19482 swig_obj
[0] = args
;
19483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19484 if (!SWIG_IsOK(res1
)) {
19485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19487 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19501 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
= 0;
19503 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 char * kwnames
[] = {
19512 (char *) "self",(char *) "flags", NULL
19515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19517 if (!SWIG_IsOK(res1
)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19520 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19522 if (!SWIG_IsOK(ecode2
)) {
19523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19525 arg2
= static_cast< int >(val2
);
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 (arg1
)->SetFlags(arg2
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_Py_Void();
19539 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
= 0;
19541 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19542 wxString
*arg2
= 0 ;
19545 bool temp2
= false ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char * kwnames
[] = {
19549 (char *) "self",(char *) "str", NULL
19552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19554 if (!SWIG_IsOK(res1
)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19557 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19559 arg2
= wxString_in_helper(obj1
);
19560 if (arg2
== NULL
) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 (arg1
)->SetFindString((wxString
const &)*arg2
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= SWIG_Py_Void();
19584 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19587 wxString
*arg2
= 0 ;
19590 bool temp2
= false ;
19591 PyObject
* obj0
= 0 ;
19592 PyObject
* obj1
= 0 ;
19593 char * kwnames
[] = {
19594 (char *) "self",(char *) "str", NULL
19597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19599 if (!SWIG_IsOK(res1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19602 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19604 arg2
= wxString_in_helper(obj1
);
19605 if (arg2
== NULL
) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_Py_Void();
19629 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19632 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19633 return SWIG_Py_Void();
19636 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19637 return SWIG_Python_InitShadowInstance(args
);
19640 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
= 0;
19642 int arg1
= (int) 0 ;
19643 wxFindReplaceData
*result
= 0 ;
19646 PyObject
* obj0
= 0 ;
19647 char * kwnames
[] = {
19648 (char *) "flags", NULL
19651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19653 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19654 if (!SWIG_IsOK(ecode1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19657 arg1
= static_cast< int >(val1
);
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19672 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19673 PyObject
*resultobj
= 0;
19674 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19677 PyObject
*swig_obj
[1] ;
19679 if (!args
) SWIG_fail
;
19680 swig_obj
[0] = args
;
19681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19682 if (!SWIG_IsOK(res1
)) {
19683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19685 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_Py_Void();
19700 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19701 PyObject
*resultobj
= 0;
19702 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19703 wxString
*result
= 0 ;
19706 PyObject
*swig_obj
[1] ;
19708 if (!args
) SWIG_fail
;
19709 swig_obj
[0] = args
;
19710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19711 if (!SWIG_IsOK(res1
)) {
19712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19714 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 wxString
const &_result_ref
= (arg1
)->GetFindString();
19719 result
= (wxString
*) &_result_ref
;
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19728 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19737 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19738 PyObject
*resultobj
= 0;
19739 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19740 wxString
*result
= 0 ;
19743 PyObject
*swig_obj
[1] ;
19745 if (!args
) SWIG_fail
;
19746 swig_obj
[0] = args
;
19747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19751 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19756 result
= (wxString
*) &_result_ref
;
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19765 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19774 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19775 PyObject
*resultobj
= 0;
19776 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19780 PyObject
*swig_obj
[1] ;
19782 if (!args
) SWIG_fail
;
19783 swig_obj
[0] = args
;
19784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19785 if (!SWIG_IsOK(res1
)) {
19786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19788 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (int)(arg1
)->GetFlags();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_From_int(static_cast< int >(result
));
19802 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
= 0;
19804 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char * kwnames
[] = {
19813 (char *) "self",(char *) "flags", NULL
19816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19818 if (!SWIG_IsOK(res1
)) {
19819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19821 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19823 if (!SWIG_IsOK(ecode2
)) {
19824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19826 arg2
= static_cast< int >(val2
);
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 (arg1
)->SetFlags(arg2
);
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= SWIG_Py_Void();
19840 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
= 0;
19842 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19843 wxString
*arg2
= 0 ;
19846 bool temp2
= false ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char * kwnames
[] = {
19850 (char *) "self",(char *) "str", NULL
19853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19858 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19860 arg2
= wxString_in_helper(obj1
);
19861 if (arg2
== NULL
) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 (arg1
)->SetFindString((wxString
const &)*arg2
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= SWIG_Py_Void();
19885 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
= 0;
19887 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19888 wxString
*arg2
= 0 ;
19891 bool temp2
= false ;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 char * kwnames
[] = {
19895 (char *) "self",(char *) "str", NULL
19898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19900 if (!SWIG_IsOK(res1
)) {
19901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19903 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19905 arg2
= wxString_in_helper(obj1
);
19906 if (arg2
== NULL
) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= SWIG_Py_Void();
19930 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19933 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19934 return SWIG_Py_Void();
19937 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19938 return SWIG_Python_InitShadowInstance(args
);
19941 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
= 0;
19943 wxWindow
*arg1
= (wxWindow
*) 0 ;
19944 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19945 wxString
*arg3
= 0 ;
19946 int arg4
= (int) 0 ;
19947 wxFindReplaceDialog
*result
= 0 ;
19952 bool temp3
= false ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 PyObject
* obj2
= 0 ;
19958 PyObject
* obj3
= 0 ;
19959 char * kwnames
[] = {
19960 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19965 if (!SWIG_IsOK(res1
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19970 if (!SWIG_IsOK(res2
)) {
19971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19973 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19975 arg3
= wxString_in_helper(obj2
);
19976 if (arg3
== NULL
) SWIG_fail
;
19980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19981 if (!SWIG_IsOK(ecode4
)) {
19982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19984 arg4
= static_cast< int >(val4
);
19987 if (!wxPyCheckForApp()) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20008 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20009 PyObject
*resultobj
= 0;
20010 wxFindReplaceDialog
*result
= 0 ;
20012 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20014 if (!wxPyCheckForApp()) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20027 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20030 wxWindow
*arg2
= (wxWindow
*) 0 ;
20031 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20032 wxString
*arg4
= 0 ;
20033 int arg5
= (int) 0 ;
20041 bool temp4
= false ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 PyObject
* obj3
= 0 ;
20048 PyObject
* obj4
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20058 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20060 if (!SWIG_IsOK(res2
)) {
20061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20063 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20064 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20065 if (!SWIG_IsOK(res3
)) {
20066 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20068 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20070 arg4
= wxString_in_helper(obj3
);
20071 if (arg4
== NULL
) SWIG_fail
;
20075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20076 if (!SWIG_IsOK(ecode5
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20079 arg5
= static_cast< int >(val5
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20104 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20105 PyObject
*resultobj
= 0;
20106 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20107 wxFindReplaceData
*result
= 0 ;
20110 PyObject
*swig_obj
[1] ;
20112 if (!args
) SWIG_fail
;
20113 swig_obj
[0] = args
;
20114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20115 if (!SWIG_IsOK(res1
)) {
20116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20118 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20132 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
= 0;
20134 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20135 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char * kwnames
[] = {
20143 (char *) "self",(char *) "data", NULL
20146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20148 if (!SWIG_IsOK(res1
)) {
20149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20151 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20153 if (!SWIG_IsOK(res2
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20156 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 (arg1
)->SetData(arg2
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_Py_Void();
20170 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20173 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20174 return SWIG_Py_Void();
20177 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20178 return SWIG_Python_InitShadowInstance(args
);
20181 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
= 0;
20183 wxWindow
*arg1
= (wxWindow
*) 0 ;
20184 int arg2
= (int) (int)-1 ;
20185 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20191 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20192 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20193 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20194 wxMDIParentFrame
*result
= 0 ;
20199 bool temp3
= false ;
20204 bool temp7
= false ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 PyObject
* obj2
= 0 ;
20208 PyObject
* obj3
= 0 ;
20209 PyObject
* obj4
= 0 ;
20210 PyObject
* obj5
= 0 ;
20211 PyObject
* obj6
= 0 ;
20212 char * kwnames
[] = {
20213 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20218 if (!SWIG_IsOK(res1
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20224 if (!SWIG_IsOK(ecode2
)) {
20225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20227 arg2
= static_cast< int >(val2
);
20231 arg3
= wxString_in_helper(obj2
);
20232 if (arg3
== NULL
) SWIG_fail
;
20239 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20245 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20249 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20250 if (!SWIG_IsOK(ecode6
)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20253 arg6
= static_cast< long >(val6
);
20257 arg7
= wxString_in_helper(obj6
);
20258 if (arg7
== NULL
) SWIG_fail
;
20263 if (!wxPyCheckForApp()) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20292 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20293 PyObject
*resultobj
= 0;
20294 wxMDIParentFrame
*result
= 0 ;
20296 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20298 if (!wxPyCheckForApp()) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20311 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
= 0;
20313 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20314 wxWindow
*arg2
= (wxWindow
*) 0 ;
20315 int arg3
= (int) (int)-1 ;
20316 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20317 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20318 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20319 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20320 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20321 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20322 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20323 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20324 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20332 bool temp4
= false ;
20337 bool temp8
= false ;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 PyObject
* obj2
= 0 ;
20341 PyObject
* obj3
= 0 ;
20342 PyObject
* obj4
= 0 ;
20343 PyObject
* obj5
= 0 ;
20344 PyObject
* obj6
= 0 ;
20345 PyObject
* obj7
= 0 ;
20346 char * kwnames
[] = {
20347 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20352 if (!SWIG_IsOK(res1
)) {
20353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20355 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20357 if (!SWIG_IsOK(res2
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20360 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20363 if (!SWIG_IsOK(ecode3
)) {
20364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20366 arg3
= static_cast< int >(val3
);
20370 arg4
= wxString_in_helper(obj3
);
20371 if (arg4
== NULL
) SWIG_fail
;
20378 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20384 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20388 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20389 if (!SWIG_IsOK(ecode7
)) {
20390 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20392 arg7
= static_cast< long >(val7
);
20396 arg8
= wxString_in_helper(obj7
);
20397 if (arg8
== NULL
) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20432 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20433 PyObject
*resultobj
= 0;
20434 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20437 PyObject
*swig_obj
[1] ;
20439 if (!args
) SWIG_fail
;
20440 swig_obj
[0] = args
;
20441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20442 if (!SWIG_IsOK(res1
)) {
20443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20445 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 (arg1
)->ActivateNext();
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_Py_Void();
20459 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20460 PyObject
*resultobj
= 0;
20461 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20464 PyObject
*swig_obj
[1] ;
20466 if (!args
) SWIG_fail
;
20467 swig_obj
[0] = args
;
20468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20469 if (!SWIG_IsOK(res1
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20472 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->ActivatePrevious();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_Py_Void();
20486 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20487 PyObject
*resultobj
= 0;
20488 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20491 PyObject
*swig_obj
[1] ;
20493 if (!args
) SWIG_fail
;
20494 swig_obj
[0] = args
;
20495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20496 if (!SWIG_IsOK(res1
)) {
20497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20499 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 (arg1
)->ArrangeIcons();
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= SWIG_Py_Void();
20513 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20514 PyObject
*resultobj
= 0;
20515 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20518 PyObject
*swig_obj
[1] ;
20520 if (!args
) SWIG_fail
;
20521 swig_obj
[0] = args
;
20522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20523 if (!SWIG_IsOK(res1
)) {
20524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20526 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= SWIG_Py_Void();
20540 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20541 PyObject
*resultobj
= 0;
20542 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20543 wxMDIChildFrame
*result
= 0 ;
20546 PyObject
*swig_obj
[1] ;
20548 if (!args
) SWIG_fail
;
20549 swig_obj
[0] = args
;
20550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20551 if (!SWIG_IsOK(res1
)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20554 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20570 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20571 PyObject
*resultobj
= 0;
20572 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20573 wxMDIClientWindow
*result
= 0 ;
20576 PyObject
*swig_obj
[1] ;
20578 if (!args
) SWIG_fail
;
20579 swig_obj
[0] = args
;
20580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20581 if (!SWIG_IsOK(res1
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20584 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20600 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20601 PyObject
*resultobj
= 0;
20602 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20603 wxWindow
*result
= 0 ;
20606 PyObject
*swig_obj
[1] ;
20608 if (!args
) SWIG_fail
;
20609 swig_obj
[0] = args
;
20610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20611 if (!SWIG_IsOK(res1
)) {
20612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20614 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (wxWindow
*)(arg1
)->GetToolBar();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= wxPyMake_wxObject(result
, 0);
20630 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20631 PyObject
*resultobj
= 0;
20632 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20633 wxMenu
*result
= 0 ;
20636 PyObject
*swig_obj
[1] ;
20638 if (!args
) SWIG_fail
;
20639 swig_obj
[0] = args
;
20640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20641 if (!SWIG_IsOK(res1
)) {
20642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20644 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= wxPyMake_wxObject(result
, 0);
20660 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
= 0;
20662 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20663 wxMenu
*arg2
= (wxMenu
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 PyObject
* obj1
= 0 ;
20670 char * kwnames
[] = {
20671 (char *) "self",(char *) "menu", NULL
20674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20676 if (!SWIG_IsOK(res1
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20679 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
20681 if (!SWIG_IsOK(res2
)) {
20682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20684 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->SetWindowMenu(arg2
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_Py_Void();
20698 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
= 0;
20700 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20701 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "orient", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20714 if (!SWIG_IsOK(res1
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20717 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20720 if (!SWIG_IsOK(ecode2
)) {
20721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20723 arg2
= static_cast< wxOrientation
>(val2
);
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 (arg1
)->Tile(arg2
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_Py_Void();
20738 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20741 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20742 return SWIG_Py_Void();
20745 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20746 return SWIG_Python_InitShadowInstance(args
);
20749 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
= 0;
20751 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20752 int arg2
= (int) (int)-1 ;
20753 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20759 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20760 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20762 wxMDIChildFrame
*result
= 0 ;
20767 bool temp3
= false ;
20772 bool temp7
= false ;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 PyObject
* obj2
= 0 ;
20776 PyObject
* obj3
= 0 ;
20777 PyObject
* obj4
= 0 ;
20778 PyObject
* obj5
= 0 ;
20779 PyObject
* obj6
= 0 ;
20780 char * kwnames
[] = {
20781 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20786 if (!SWIG_IsOK(res1
)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20789 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20792 if (!SWIG_IsOK(ecode2
)) {
20793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20795 arg2
= static_cast< int >(val2
);
20799 arg3
= wxString_in_helper(obj2
);
20800 if (arg3
== NULL
) SWIG_fail
;
20807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20817 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20818 if (!SWIG_IsOK(ecode6
)) {
20819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20821 arg6
= static_cast< long >(val6
);
20825 arg7
= wxString_in_helper(obj6
);
20826 if (arg7
== NULL
) SWIG_fail
;
20831 if (!wxPyCheckForApp()) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20860 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20861 PyObject
*resultobj
= 0;
20862 wxMDIChildFrame
*result
= 0 ;
20864 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20866 if (!wxPyCheckForApp()) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20879 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
= 0;
20881 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20882 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20883 int arg3
= (int) (int)-1 ;
20884 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20885 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20886 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20887 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20888 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20889 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20890 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20891 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20892 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20900 bool temp4
= false ;
20905 bool temp8
= false ;
20906 PyObject
* obj0
= 0 ;
20907 PyObject
* obj1
= 0 ;
20908 PyObject
* obj2
= 0 ;
20909 PyObject
* obj3
= 0 ;
20910 PyObject
* obj4
= 0 ;
20911 PyObject
* obj5
= 0 ;
20912 PyObject
* obj6
= 0 ;
20913 PyObject
* obj7
= 0 ;
20914 char * kwnames
[] = {
20915 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20920 if (!SWIG_IsOK(res1
)) {
20921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20923 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20925 if (!SWIG_IsOK(res2
)) {
20926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20928 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20931 if (!SWIG_IsOK(ecode3
)) {
20932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20934 arg3
= static_cast< int >(val3
);
20938 arg4
= wxString_in_helper(obj3
);
20939 if (arg4
== NULL
) SWIG_fail
;
20946 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20952 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20956 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20957 if (!SWIG_IsOK(ecode7
)) {
20958 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20960 arg7
= static_cast< long >(val7
);
20964 arg8
= wxString_in_helper(obj7
);
20965 if (arg8
== NULL
) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21000 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 PyObject
*resultobj
= 0;
21002 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21005 PyObject
*swig_obj
[1] ;
21007 if (!args
) SWIG_fail
;
21008 swig_obj
[0] = args
;
21009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21013 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 (arg1
)->Activate();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_Py_Void();
21027 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21030 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21031 return SWIG_Py_Void();
21034 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21035 return SWIG_Python_InitShadowInstance(args
);
21038 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21041 long arg2
= (long) 0 ;
21042 wxMDIClientWindow
*result
= 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "parent",(char *) "style", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21058 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21061 if (!SWIG_IsOK(ecode2
)) {
21062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21064 arg2
= static_cast< long >(val2
);
21067 if (!wxPyCheckForApp()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21080 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21081 PyObject
*resultobj
= 0;
21082 wxMDIClientWindow
*result
= 0 ;
21084 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21086 if (!wxPyCheckForApp()) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21099 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
= 0;
21101 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21102 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21103 long arg3
= (long) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 PyObject
* obj2
= 0 ;
21114 char * kwnames
[] = {
21115 (char *) "self",(char *) "parent",(char *) "style", NULL
21118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21120 if (!SWIG_IsOK(res1
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21123 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21125 if (!SWIG_IsOK(res2
)) {
21126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21128 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21130 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21131 if (!SWIG_IsOK(ecode3
)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21134 arg3
= static_cast< long >(val3
);
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21151 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21154 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21155 return SWIG_Py_Void();
21158 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21159 return SWIG_Python_InitShadowInstance(args
);
21162 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
= 0;
21164 wxWindow
*arg1
= (wxWindow
*) 0 ;
21165 int arg2
= (int) (int)-1 ;
21166 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21167 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21168 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21169 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21170 long arg5
= (long) 0 ;
21171 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21172 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21173 wxPyWindow
*result
= 0 ;
21182 bool temp6
= false ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 PyObject
* obj2
= 0 ;
21186 PyObject
* obj3
= 0 ;
21187 PyObject
* obj4
= 0 ;
21188 PyObject
* obj5
= 0 ;
21189 char * kwnames
[] = {
21190 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21195 if (!SWIG_IsOK(res1
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21201 if (!SWIG_IsOK(ecode2
)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21204 arg2
= static_cast< int >(val2
);
21209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21219 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21220 if (!SWIG_IsOK(ecode5
)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21223 arg5
= static_cast< long >(val5
);
21227 arg6
= wxString_in_helper(obj5
);
21228 if (arg6
== NULL
) SWIG_fail
;
21233 if (!wxPyCheckForApp()) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21254 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21255 PyObject
*resultobj
= 0;
21256 wxPyWindow
*result
= 0 ;
21258 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21260 if (!wxPyCheckForApp()) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (wxPyWindow
*)new wxPyWindow();
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21273 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
= 0;
21275 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21276 PyObject
*arg2
= (PyObject
*) 0 ;
21277 PyObject
*arg3
= (PyObject
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 PyObject
* obj2
= 0 ;
21283 char * kwnames
[] = {
21284 (char *) "self",(char *) "self",(char *) "_class", NULL
21287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21292 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= SWIG_Py_Void();
21308 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
= 0;
21310 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char * kwnames
[] = {
21318 (char *) "self",(char *) "size", NULL
21321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21326 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21329 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= SWIG_Py_Void();
21344 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
= 0;
21346 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21347 wxDC
*arg2
= (wxDC
*) 0 ;
21353 PyObject
* obj0
= 0 ;
21354 PyObject
* obj1
= 0 ;
21355 char * kwnames
[] = {
21356 (char *) "self",(char *) "dc", NULL
21359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21361 if (!SWIG_IsOK(res1
)) {
21362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21364 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21366 if (!SWIG_IsOK(res2
)) {
21367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21369 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21385 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
= 0;
21387 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 PyObject
* obj2
= 0 ;
21405 PyObject
* obj3
= 0 ;
21406 PyObject
* obj4
= 0 ;
21407 char * kwnames
[] = {
21408 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21416 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21418 if (!SWIG_IsOK(ecode2
)) {
21419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21421 arg2
= static_cast< int >(val2
);
21422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21423 if (!SWIG_IsOK(ecode3
)) {
21424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21426 arg3
= static_cast< int >(val3
);
21427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21428 if (!SWIG_IsOK(ecode4
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21431 arg4
= static_cast< int >(val4
);
21432 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21433 if (!SWIG_IsOK(ecode5
)) {
21434 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21436 arg5
= static_cast< int >(val5
);
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_Py_Void();
21450 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
= 0;
21452 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21457 int arg6
= (int) wxSIZE_AUTO
;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 PyObject
* obj3
= 0 ;
21474 PyObject
* obj4
= 0 ;
21475 PyObject
* obj5
= 0 ;
21476 char * kwnames
[] = {
21477 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21482 if (!SWIG_IsOK(res1
)) {
21483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21485 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21487 if (!SWIG_IsOK(ecode2
)) {
21488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21490 arg2
= static_cast< int >(val2
);
21491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21492 if (!SWIG_IsOK(ecode3
)) {
21493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21495 arg3
= static_cast< int >(val3
);
21496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21497 if (!SWIG_IsOK(ecode4
)) {
21498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21500 arg4
= static_cast< int >(val4
);
21501 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21502 if (!SWIG_IsOK(ecode5
)) {
21503 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21505 arg5
= static_cast< int >(val5
);
21507 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21508 if (!SWIG_IsOK(ecode6
)) {
21509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21511 arg6
= static_cast< int >(val6
);
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_Py_Void();
21526 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= 0;
21528 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 PyObject
* obj2
= 0 ;
21540 char * kwnames
[] = {
21541 (char *) "self",(char *) "width",(char *) "height", NULL
21544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21546 if (!SWIG_IsOK(res1
)) {
21547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21549 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21551 if (!SWIG_IsOK(ecode2
)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21554 arg2
= static_cast< int >(val2
);
21555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21556 if (!SWIG_IsOK(ecode3
)) {
21557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21559 arg3
= static_cast< int >(val3
);
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->DoSetClientSize(arg2
,arg3
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_Py_Void();
21573 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
= 0;
21575 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 PyObject
* obj2
= 0 ;
21587 char * kwnames
[] = {
21588 (char *) "self",(char *) "x",(char *) "y", NULL
21591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21596 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21598 if (!SWIG_IsOK(ecode2
)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21601 arg2
= static_cast< int >(val2
);
21602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21603 if (!SWIG_IsOK(ecode3
)) {
21604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21606 arg3
= static_cast< int >(val3
);
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_Py_Void();
21620 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21621 PyObject
*resultobj
= 0;
21622 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21623 int *arg2
= (int *) 0 ;
21624 int *arg3
= (int *) 0 ;
21628 int res2
= SWIG_TMPOBJ
;
21630 int res3
= SWIG_TMPOBJ
;
21631 PyObject
*swig_obj
[1] ;
21635 if (!args
) SWIG_fail
;
21636 swig_obj
[0] = args
;
21637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21641 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_Py_Void();
21649 if (SWIG_IsTmpObj(res2
)) {
21650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21655 if (SWIG_IsTmpObj(res3
)) {
21656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21667 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21668 PyObject
*resultobj
= 0;
21669 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21670 int *arg2
= (int *) 0 ;
21671 int *arg3
= (int *) 0 ;
21675 int res2
= SWIG_TMPOBJ
;
21677 int res3
= SWIG_TMPOBJ
;
21678 PyObject
*swig_obj
[1] ;
21682 if (!args
) SWIG_fail
;
21683 swig_obj
[0] = args
;
21684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21685 if (!SWIG_IsOK(res1
)) {
21686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21688 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= SWIG_Py_Void();
21696 if (SWIG_IsTmpObj(res2
)) {
21697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21699 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21702 if (SWIG_IsTmpObj(res3
)) {
21703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21705 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21714 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21715 PyObject
*resultobj
= 0;
21716 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21717 int *arg2
= (int *) 0 ;
21718 int *arg3
= (int *) 0 ;
21722 int res2
= SWIG_TMPOBJ
;
21724 int res3
= SWIG_TMPOBJ
;
21725 PyObject
*swig_obj
[1] ;
21729 if (!args
) SWIG_fail
;
21730 swig_obj
[0] = args
;
21731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21732 if (!SWIG_IsOK(res1
)) {
21733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21735 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= SWIG_Py_Void();
21743 if (SWIG_IsTmpObj(res2
)) {
21744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21746 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21749 if (SWIG_IsTmpObj(res3
)) {
21750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21752 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21761 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21762 PyObject
*resultobj
= 0;
21763 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21767 PyObject
*swig_obj
[1] ;
21769 if (!args
) SWIG_fail
;
21770 swig_obj
[0] = args
;
21771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21772 if (!SWIG_IsOK(res1
)) {
21773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21775 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21789 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21790 PyObject
*resultobj
= 0;
21791 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21795 PyObject
*swig_obj
[1] ;
21797 if (!args
) SWIG_fail
;
21798 swig_obj
[0] = args
;
21799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21800 if (!SWIG_IsOK(res1
)) {
21801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21803 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21817 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21818 PyObject
*resultobj
= 0;
21819 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21820 SwigValueWrapper
<wxVisualAttributes
> result
;
21823 PyObject
*swig_obj
[1] ;
21825 if (!args
) SWIG_fail
;
21826 swig_obj
[0] = args
;
21827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21828 if (!SWIG_IsOK(res1
)) {
21829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21831 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (arg1
)->GetDefaultAttributes();
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21845 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21846 PyObject
*resultobj
= 0;
21847 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21850 PyObject
*swig_obj
[1] ;
21852 if (!args
) SWIG_fail
;
21853 swig_obj
[0] = args
;
21854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21855 if (!SWIG_IsOK(res1
)) {
21856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21858 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->OnInternalIdle();
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= SWIG_Py_Void();
21872 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21875 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21876 return SWIG_Py_Void();
21879 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21880 return SWIG_Python_InitShadowInstance(args
);
21883 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
= 0;
21885 wxWindow
*arg1
= (wxWindow
*) 0 ;
21886 int arg2
= (int) (int)-1 ;
21887 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21888 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21889 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21890 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21891 long arg5
= (long) 0 ;
21892 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21893 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21894 wxPyPanel
*result
= 0 ;
21903 bool temp6
= false ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 PyObject
* obj2
= 0 ;
21907 PyObject
* obj3
= 0 ;
21908 PyObject
* obj4
= 0 ;
21909 PyObject
* obj5
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21922 if (!SWIG_IsOK(ecode2
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21925 arg2
= static_cast< int >(val2
);
21930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21940 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21941 if (!SWIG_IsOK(ecode5
)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21944 arg5
= static_cast< long >(val5
);
21948 arg6
= wxString_in_helper(obj5
);
21949 if (arg6
== NULL
) SWIG_fail
;
21954 if (!wxPyCheckForApp()) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21975 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21976 PyObject
*resultobj
= 0;
21977 wxPyPanel
*result
= 0 ;
21979 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21981 if (!wxPyCheckForApp()) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (wxPyPanel
*)new wxPyPanel();
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21994 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
= 0;
21996 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21997 PyObject
*arg2
= (PyObject
*) 0 ;
21998 PyObject
*arg3
= (PyObject
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 PyObject
* obj2
= 0 ;
22004 char * kwnames
[] = {
22005 (char *) "self",(char *) "self",(char *) "_class", NULL
22008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22010 if (!SWIG_IsOK(res1
)) {
22011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22013 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= SWIG_Py_Void();
22029 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
= 0;
22031 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22036 PyObject
* obj0
= 0 ;
22037 PyObject
* obj1
= 0 ;
22038 char * kwnames
[] = {
22039 (char *) "self",(char *) "size", NULL
22042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22044 if (!SWIG_IsOK(res1
)) {
22045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22047 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22050 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_Py_Void();
22065 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
= 0;
22067 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22068 wxDC
*arg2
= (wxDC
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char * kwnames
[] = {
22077 (char *) "self",(char *) "dc", NULL
22080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22082 if (!SWIG_IsOK(res1
)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22085 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22087 if (!SWIG_IsOK(res2
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22090 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22106 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
= 0;
22108 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 PyObject
* obj2
= 0 ;
22126 PyObject
* obj3
= 0 ;
22127 PyObject
* obj4
= 0 ;
22128 char * kwnames
[] = {
22129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22134 if (!SWIG_IsOK(res1
)) {
22135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22137 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22139 if (!SWIG_IsOK(ecode2
)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22142 arg2
= static_cast< int >(val2
);
22143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22144 if (!SWIG_IsOK(ecode3
)) {
22145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22147 arg3
= static_cast< int >(val3
);
22148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22149 if (!SWIG_IsOK(ecode4
)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22152 arg4
= static_cast< int >(val4
);
22153 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22154 if (!SWIG_IsOK(ecode5
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22157 arg5
= static_cast< int >(val5
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_Py_Void();
22171 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= 0;
22173 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22178 int arg6
= (int) wxSIZE_AUTO
;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 PyObject
* obj2
= 0 ;
22194 PyObject
* obj3
= 0 ;
22195 PyObject
* obj4
= 0 ;
22196 PyObject
* obj5
= 0 ;
22197 char * kwnames
[] = {
22198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22206 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22208 if (!SWIG_IsOK(ecode2
)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22211 arg2
= static_cast< int >(val2
);
22212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22213 if (!SWIG_IsOK(ecode3
)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22216 arg3
= static_cast< int >(val3
);
22217 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22218 if (!SWIG_IsOK(ecode4
)) {
22219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22221 arg4
= static_cast< int >(val4
);
22222 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22223 if (!SWIG_IsOK(ecode5
)) {
22224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22226 arg5
= static_cast< int >(val5
);
22228 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22229 if (!SWIG_IsOK(ecode6
)) {
22230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22232 arg6
= static_cast< int >(val6
);
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= SWIG_Py_Void();
22247 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
= 0;
22249 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 PyObject
* obj2
= 0 ;
22261 char * kwnames
[] = {
22262 (char *) "self",(char *) "width",(char *) "height", NULL
22265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22267 if (!SWIG_IsOK(res1
)) {
22268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22270 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22272 if (!SWIG_IsOK(ecode2
)) {
22273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22275 arg2
= static_cast< int >(val2
);
22276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22277 if (!SWIG_IsOK(ecode3
)) {
22278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22280 arg3
= static_cast< int >(val3
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->DoSetClientSize(arg2
,arg3
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_Py_Void();
22294 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
= 0;
22296 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 PyObject
* obj2
= 0 ;
22308 char * kwnames
[] = {
22309 (char *) "self",(char *) "x",(char *) "y", NULL
22312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22317 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22319 if (!SWIG_IsOK(ecode2
)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22322 arg2
= static_cast< int >(val2
);
22323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22324 if (!SWIG_IsOK(ecode3
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22327 arg3
= static_cast< int >(val3
);
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 resultobj
= SWIG_Py_Void();
22341 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22342 PyObject
*resultobj
= 0;
22343 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22344 int *arg2
= (int *) 0 ;
22345 int *arg3
= (int *) 0 ;
22349 int res2
= SWIG_TMPOBJ
;
22351 int res3
= SWIG_TMPOBJ
;
22352 PyObject
*swig_obj
[1] ;
22356 if (!args
) SWIG_fail
;
22357 swig_obj
[0] = args
;
22358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22359 if (!SWIG_IsOK(res1
)) {
22360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22362 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= SWIG_Py_Void();
22370 if (SWIG_IsTmpObj(res2
)) {
22371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22373 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22376 if (SWIG_IsTmpObj(res3
)) {
22377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22379 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22388 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22389 PyObject
*resultobj
= 0;
22390 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22391 int *arg2
= (int *) 0 ;
22392 int *arg3
= (int *) 0 ;
22396 int res2
= SWIG_TMPOBJ
;
22398 int res3
= SWIG_TMPOBJ
;
22399 PyObject
*swig_obj
[1] ;
22403 if (!args
) SWIG_fail
;
22404 swig_obj
[0] = args
;
22405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22409 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_Py_Void();
22417 if (SWIG_IsTmpObj(res2
)) {
22418 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22420 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22423 if (SWIG_IsTmpObj(res3
)) {
22424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22426 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22435 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22436 PyObject
*resultobj
= 0;
22437 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22438 int *arg2
= (int *) 0 ;
22439 int *arg3
= (int *) 0 ;
22443 int res2
= SWIG_TMPOBJ
;
22445 int res3
= SWIG_TMPOBJ
;
22446 PyObject
*swig_obj
[1] ;
22450 if (!args
) SWIG_fail
;
22451 swig_obj
[0] = args
;
22452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22453 if (!SWIG_IsOK(res1
)) {
22454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22456 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= SWIG_Py_Void();
22464 if (SWIG_IsTmpObj(res2
)) {
22465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22467 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22470 if (SWIG_IsTmpObj(res3
)) {
22471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22473 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22482 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22483 PyObject
*resultobj
= 0;
22484 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22488 PyObject
*swig_obj
[1] ;
22490 if (!args
) SWIG_fail
;
22491 swig_obj
[0] = args
;
22492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22493 if (!SWIG_IsOK(res1
)) {
22494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22496 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22510 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22511 PyObject
*resultobj
= 0;
22512 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22516 PyObject
*swig_obj
[1] ;
22518 if (!args
) SWIG_fail
;
22519 swig_obj
[0] = args
;
22520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22521 if (!SWIG_IsOK(res1
)) {
22522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22524 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22538 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22539 PyObject
*resultobj
= 0;
22540 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22541 SwigValueWrapper
<wxVisualAttributes
> result
;
22544 PyObject
*swig_obj
[1] ;
22546 if (!args
) SWIG_fail
;
22547 swig_obj
[0] = args
;
22548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22549 if (!SWIG_IsOK(res1
)) {
22550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22552 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 result
= (arg1
)->GetDefaultAttributes();
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22566 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22567 PyObject
*resultobj
= 0;
22568 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22571 PyObject
*swig_obj
[1] ;
22573 if (!args
) SWIG_fail
;
22574 swig_obj
[0] = args
;
22575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22576 if (!SWIG_IsOK(res1
)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22579 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 (arg1
)->OnInternalIdle();
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_Py_Void();
22593 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22596 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22597 return SWIG_Py_Void();
22600 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22601 return SWIG_Python_InitShadowInstance(args
);
22604 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
= 0;
22606 wxWindow
*arg1
= (wxWindow
*) 0 ;
22607 int arg2
= (int) (int)-1 ;
22608 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22609 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22610 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22611 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22612 long arg5
= (long) 0 ;
22613 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22614 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22615 wxPyScrolledWindow
*result
= 0 ;
22624 bool temp6
= false ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 PyObject
* obj2
= 0 ;
22628 PyObject
* obj3
= 0 ;
22629 PyObject
* obj4
= 0 ;
22630 PyObject
* obj5
= 0 ;
22631 char * kwnames
[] = {
22632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22640 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22643 if (!SWIG_IsOK(ecode2
)) {
22644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22646 arg2
= static_cast< int >(val2
);
22651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22657 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22661 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22662 if (!SWIG_IsOK(ecode5
)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22665 arg5
= static_cast< long >(val5
);
22669 arg6
= wxString_in_helper(obj5
);
22670 if (arg6
== NULL
) SWIG_fail
;
22675 if (!wxPyCheckForApp()) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22696 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22697 PyObject
*resultobj
= 0;
22698 wxPyScrolledWindow
*result
= 0 ;
22700 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22702 if (!wxPyCheckForApp()) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22715 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
= 0;
22717 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22718 PyObject
*arg2
= (PyObject
*) 0 ;
22719 PyObject
*arg3
= (PyObject
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 PyObject
* obj2
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "self",(char *) "self",(char *) "_class", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22731 if (!SWIG_IsOK(res1
)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22734 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_Py_Void();
22750 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
= 0;
22752 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char * kwnames
[] = {
22760 (char *) "self",(char *) "size", NULL
22763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22765 if (!SWIG_IsOK(res1
)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22768 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_Py_Void();
22786 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= 0;
22788 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22789 wxDC
*arg2
= (wxDC
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 char * kwnames
[] = {
22798 (char *) "self",(char *) "dc", NULL
22801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22803 if (!SWIG_IsOK(res1
)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22806 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22808 if (!SWIG_IsOK(res2
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22811 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22827 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
= 0;
22829 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22844 PyObject
* obj0
= 0 ;
22845 PyObject
* obj1
= 0 ;
22846 PyObject
* obj2
= 0 ;
22847 PyObject
* obj3
= 0 ;
22848 PyObject
* obj4
= 0 ;
22849 char * kwnames
[] = {
22850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22855 if (!SWIG_IsOK(res1
)) {
22856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22858 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22860 if (!SWIG_IsOK(ecode2
)) {
22861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22863 arg2
= static_cast< int >(val2
);
22864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22865 if (!SWIG_IsOK(ecode3
)) {
22866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22868 arg3
= static_cast< int >(val3
);
22869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22870 if (!SWIG_IsOK(ecode4
)) {
22871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22873 arg4
= static_cast< int >(val4
);
22874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22875 if (!SWIG_IsOK(ecode5
)) {
22876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22878 arg5
= static_cast< int >(val5
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_Py_Void();
22892 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
= 0;
22894 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22899 int arg6
= (int) wxSIZE_AUTO
;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 PyObject
* obj2
= 0 ;
22915 PyObject
* obj3
= 0 ;
22916 PyObject
* obj4
= 0 ;
22917 PyObject
* obj5
= 0 ;
22918 char * kwnames
[] = {
22919 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22924 if (!SWIG_IsOK(res1
)) {
22925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22927 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22929 if (!SWIG_IsOK(ecode2
)) {
22930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22932 arg2
= static_cast< int >(val2
);
22933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22934 if (!SWIG_IsOK(ecode3
)) {
22935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22937 arg3
= static_cast< int >(val3
);
22938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22939 if (!SWIG_IsOK(ecode4
)) {
22940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22942 arg4
= static_cast< int >(val4
);
22943 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22944 if (!SWIG_IsOK(ecode5
)) {
22945 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22947 arg5
= static_cast< int >(val5
);
22949 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22950 if (!SWIG_IsOK(ecode6
)) {
22951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22953 arg6
= static_cast< int >(val6
);
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_Py_Void();
22968 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
= 0;
22970 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 PyObject
* obj2
= 0 ;
22982 char * kwnames
[] = {
22983 (char *) "self",(char *) "width",(char *) "height", NULL
22986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22991 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22993 if (!SWIG_IsOK(ecode2
)) {
22994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22996 arg2
= static_cast< int >(val2
);
22997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22998 if (!SWIG_IsOK(ecode3
)) {
22999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23001 arg3
= static_cast< int >(val3
);
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 (arg1
)->DoSetClientSize(arg2
,arg3
);
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_Py_Void();
23015 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
= 0;
23017 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 PyObject
* obj2
= 0 ;
23029 char * kwnames
[] = {
23030 (char *) "self",(char *) "x",(char *) "y", NULL
23033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23035 if (!SWIG_IsOK(res1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23038 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23040 if (!SWIG_IsOK(ecode2
)) {
23041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23043 arg2
= static_cast< int >(val2
);
23044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23045 if (!SWIG_IsOK(ecode3
)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23048 arg3
= static_cast< int >(val3
);
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_Py_Void();
23062 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23063 PyObject
*resultobj
= 0;
23064 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23065 int *arg2
= (int *) 0 ;
23066 int *arg3
= (int *) 0 ;
23070 int res2
= SWIG_TMPOBJ
;
23072 int res3
= SWIG_TMPOBJ
;
23073 PyObject
*swig_obj
[1] ;
23077 if (!args
) SWIG_fail
;
23078 swig_obj
[0] = args
;
23079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23083 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_Py_Void();
23091 if (SWIG_IsTmpObj(res2
)) {
23092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23094 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23097 if (SWIG_IsTmpObj(res3
)) {
23098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23109 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23112 int *arg2
= (int *) 0 ;
23113 int *arg3
= (int *) 0 ;
23117 int res2
= SWIG_TMPOBJ
;
23119 int res3
= SWIG_TMPOBJ
;
23120 PyObject
*swig_obj
[1] ;
23124 if (!args
) SWIG_fail
;
23125 swig_obj
[0] = args
;
23126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23127 if (!SWIG_IsOK(res1
)) {
23128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23130 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_Py_Void();
23138 if (SWIG_IsTmpObj(res2
)) {
23139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23141 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23144 if (SWIG_IsTmpObj(res3
)) {
23145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23147 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23156 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23157 PyObject
*resultobj
= 0;
23158 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23159 int *arg2
= (int *) 0 ;
23160 int *arg3
= (int *) 0 ;
23164 int res2
= SWIG_TMPOBJ
;
23166 int res3
= SWIG_TMPOBJ
;
23167 PyObject
*swig_obj
[1] ;
23171 if (!args
) SWIG_fail
;
23172 swig_obj
[0] = args
;
23173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23174 if (!SWIG_IsOK(res1
)) {
23175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23177 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_Py_Void();
23185 if (SWIG_IsTmpObj(res2
)) {
23186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23188 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23191 if (SWIG_IsTmpObj(res3
)) {
23192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23194 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23203 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23204 PyObject
*resultobj
= 0;
23205 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23209 PyObject
*swig_obj
[1] ;
23211 if (!args
) SWIG_fail
;
23212 swig_obj
[0] = args
;
23213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23214 if (!SWIG_IsOK(res1
)) {
23215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23217 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23231 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23232 PyObject
*resultobj
= 0;
23233 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23237 PyObject
*swig_obj
[1] ;
23239 if (!args
) SWIG_fail
;
23240 swig_obj
[0] = args
;
23241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23242 if (!SWIG_IsOK(res1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23245 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23259 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23260 PyObject
*resultobj
= 0;
23261 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23262 SwigValueWrapper
<wxVisualAttributes
> result
;
23265 PyObject
*swig_obj
[1] ;
23267 if (!args
) SWIG_fail
;
23268 swig_obj
[0] = args
;
23269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23270 if (!SWIG_IsOK(res1
)) {
23271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23273 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (arg1
)->GetDefaultAttributes();
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23287 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23288 PyObject
*resultobj
= 0;
23289 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23292 PyObject
*swig_obj
[1] ;
23294 if (!args
) SWIG_fail
;
23295 swig_obj
[0] = args
;
23296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23297 if (!SWIG_IsOK(res1
)) {
23298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23300 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 (arg1
)->OnInternalIdle();
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= SWIG_Py_Void();
23314 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23318 return SWIG_Py_Void();
23321 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23322 return SWIG_Python_InitShadowInstance(args
);
23325 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23326 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23331 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23332 PyObject
*pyobj
= 0;
23336 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23338 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23345 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23346 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23351 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23352 PyObject
*pyobj
= 0;
23356 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23358 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23365 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23366 PyObject
*resultobj
= 0;
23367 wxPrintData
*result
= 0 ;
23369 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (wxPrintData
*)new wxPrintData();
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23383 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23384 PyObject
*resultobj
= 0;
23385 wxPrintData
*arg1
= 0 ;
23386 wxPrintData
*result
= 0 ;
23390 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23392 if (!SWIG_IsOK(res1
)) {
23393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23398 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23412 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23416 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23419 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23422 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23426 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23431 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23432 PyObject
*resultobj
= 0;
23433 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23436 PyObject
*swig_obj
[1] ;
23438 if (!args
) SWIG_fail
;
23439 swig_obj
[0] = args
;
23440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23444 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= SWIG_Py_Void();
23459 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23460 PyObject
*resultobj
= 0;
23461 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23465 PyObject
*swig_obj
[1] ;
23467 if (!args
) SWIG_fail
;
23468 swig_obj
[0] = args
;
23469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23470 if (!SWIG_IsOK(res1
)) {
23471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23473 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (int)(arg1
)->GetNoCopies();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= SWIG_From_int(static_cast< int >(result
));
23487 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23488 PyObject
*resultobj
= 0;
23489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23493 PyObject
*swig_obj
[1] ;
23495 if (!args
) SWIG_fail
;
23496 swig_obj
[0] = args
;
23497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23498 if (!SWIG_IsOK(res1
)) {
23499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23501 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 result
= (bool)(arg1
)->GetCollate();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23517 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23518 PyObject
*resultobj
= 0;
23519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23523 PyObject
*swig_obj
[1] ;
23525 if (!args
) SWIG_fail
;
23526 swig_obj
[0] = args
;
23527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23528 if (!SWIG_IsOK(res1
)) {
23529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23531 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (int)(arg1
)->GetOrientation();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= SWIG_From_int(static_cast< int >(result
));
23545 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23546 PyObject
*resultobj
= 0;
23547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23551 PyObject
*swig_obj
[1] ;
23553 if (!args
) SWIG_fail
;
23554 swig_obj
[0] = args
;
23555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23556 if (!SWIG_IsOK(res1
)) {
23557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23559 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (bool)(arg1
)->Ok();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23575 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23576 PyObject
*resultobj
= 0;
23577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23578 wxString
*result
= 0 ;
23581 PyObject
*swig_obj
[1] ;
23583 if (!args
) SWIG_fail
;
23584 swig_obj
[0] = args
;
23585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23586 if (!SWIG_IsOK(res1
)) {
23587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23589 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23594 result
= (wxString
*) &_result_ref
;
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23603 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23612 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23613 PyObject
*resultobj
= 0;
23614 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23618 PyObject
*swig_obj
[1] ;
23620 if (!args
) SWIG_fail
;
23621 swig_obj
[0] = args
;
23622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23623 if (!SWIG_IsOK(res1
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23626 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (bool)(arg1
)->GetColour();
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23642 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23643 PyObject
*resultobj
= 0;
23644 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23645 wxDuplexMode result
;
23648 PyObject
*swig_obj
[1] ;
23650 if (!args
) SWIG_fail
;
23651 swig_obj
[0] = args
;
23652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23653 if (!SWIG_IsOK(res1
)) {
23654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23656 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= SWIG_From_int(static_cast< int >(result
));
23670 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23671 PyObject
*resultobj
= 0;
23672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23673 wxPaperSize result
;
23676 PyObject
*swig_obj
[1] ;
23678 if (!args
) SWIG_fail
;
23679 swig_obj
[0] = args
;
23680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23681 if (!SWIG_IsOK(res1
)) {
23682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23684 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_From_int(static_cast< int >(result
));
23698 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23699 PyObject
*resultobj
= 0;
23700 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23701 wxSize
*result
= 0 ;
23704 PyObject
*swig_obj
[1] ;
23706 if (!args
) SWIG_fail
;
23707 swig_obj
[0] = args
;
23708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23712 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23717 result
= (wxSize
*) &_result_ref
;
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23729 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 PyObject
*resultobj
= 0;
23731 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23735 PyObject
*swig_obj
[1] ;
23737 if (!args
) SWIG_fail
;
23738 swig_obj
[0] = args
;
23739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23743 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (int)(arg1
)->GetQuality();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_From_int(static_cast< int >(result
));
23757 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23758 PyObject
*resultobj
= 0;
23759 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23763 PyObject
*swig_obj
[1] ;
23765 if (!args
) SWIG_fail
;
23766 swig_obj
[0] = args
;
23767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23768 if (!SWIG_IsOK(res1
)) {
23769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23771 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (wxPrintBin
)(arg1
)->GetBin();
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_From_int(static_cast< int >(result
));
23785 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23786 PyObject
*resultobj
= 0;
23787 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23788 wxPrintMode result
;
23791 PyObject
*swig_obj
[1] ;
23793 if (!args
) SWIG_fail
;
23794 swig_obj
[0] = args
;
23795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23799 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_From_int(static_cast< int >(result
));
23813 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
= 0;
23815 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23823 char * kwnames
[] = {
23824 (char *) "self",(char *) "v", NULL
23827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23832 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23834 if (!SWIG_IsOK(ecode2
)) {
23835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23837 arg2
= static_cast< int >(val2
);
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 (arg1
)->SetNoCopies(arg2
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_Py_Void();
23851 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
= 0;
23853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 char * kwnames
[] = {
23862 (char *) "self",(char *) "flag", NULL
23865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23867 if (!SWIG_IsOK(res1
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23870 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23871 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23872 if (!SWIG_IsOK(ecode2
)) {
23873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23875 arg2
= static_cast< bool >(val2
);
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 (arg1
)->SetCollate(arg2
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_Py_Void();
23889 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
= 0;
23891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23897 PyObject
* obj0
= 0 ;
23898 PyObject
* obj1
= 0 ;
23899 char * kwnames
[] = {
23900 (char *) "self",(char *) "orient", NULL
23903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23905 if (!SWIG_IsOK(res1
)) {
23906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23908 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23910 if (!SWIG_IsOK(ecode2
)) {
23911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23913 arg2
= static_cast< int >(val2
);
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 (arg1
)->SetOrientation(arg2
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= SWIG_Py_Void();
23927 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
= 0;
23929 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23930 wxString
*arg2
= 0 ;
23933 bool temp2
= false ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char * kwnames
[] = {
23937 (char *) "self",(char *) "name", NULL
23940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23942 if (!SWIG_IsOK(res1
)) {
23943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23945 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23947 arg2
= wxString_in_helper(obj1
);
23948 if (arg2
== NULL
) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_Py_Void();
23972 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
= 0;
23974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char * kwnames
[] = {
23983 (char *) "self",(char *) "colour", NULL
23986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23991 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23992 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23993 if (!SWIG_IsOK(ecode2
)) {
23994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23996 arg2
= static_cast< bool >(val2
);
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->SetColour(arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_Py_Void();
24010 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
= 0;
24012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24013 wxDuplexMode arg2
;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 char * kwnames
[] = {
24021 (char *) "self",(char *) "duplex", NULL
24024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24026 if (!SWIG_IsOK(res1
)) {
24027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24029 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24031 if (!SWIG_IsOK(ecode2
)) {
24032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24034 arg2
= static_cast< wxDuplexMode
>(val2
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 (arg1
)->SetDuplex(arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= SWIG_Py_Void();
24048 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
= 0;
24050 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 PyObject
* obj1
= 0 ;
24058 char * kwnames
[] = {
24059 (char *) "self",(char *) "sizeId", NULL
24062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24064 if (!SWIG_IsOK(res1
)) {
24065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24067 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24069 if (!SWIG_IsOK(ecode2
)) {
24070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24072 arg2
= static_cast< wxPaperSize
>(val2
);
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 (arg1
)->SetPaperId(arg2
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_Py_Void();
24086 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
= 0;
24088 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "self",(char *) "sz", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24104 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_Py_Void();
24122 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= 0;
24124 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 char * kwnames
[] = {
24133 (char *) "self",(char *) "quality", NULL
24136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24138 if (!SWIG_IsOK(res1
)) {
24139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24141 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24143 if (!SWIG_IsOK(ecode2
)) {
24144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24146 arg2
= static_cast< int >(val2
);
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 (arg1
)->SetQuality(arg2
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_Py_Void();
24160 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
= 0;
24162 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 char * kwnames
[] = {
24171 (char *) "self",(char *) "bin", NULL
24174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24179 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24181 if (!SWIG_IsOK(ecode2
)) {
24182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24184 arg2
= static_cast< wxPrintBin
>(val2
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 (arg1
)->SetBin(arg2
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_Py_Void();
24198 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
= 0;
24200 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 char * kwnames
[] = {
24209 (char *) "self",(char *) "printMode", NULL
24212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24214 if (!SWIG_IsOK(res1
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24217 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24219 if (!SWIG_IsOK(ecode2
)) {
24220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24222 arg2
= static_cast< wxPrintMode
>(val2
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 (arg1
)->SetPrintMode(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_Py_Void();
24236 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24237 PyObject
*resultobj
= 0;
24238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24242 PyObject
*swig_obj
[1] ;
24244 if (!args
) SWIG_fail
;
24245 swig_obj
[0] = args
;
24246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24247 if (!SWIG_IsOK(res1
)) {
24248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24250 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24270 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
= 0;
24272 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24273 wxString
*arg2
= 0 ;
24276 bool temp2
= false ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 char * kwnames
[] = {
24280 (char *) "self",(char *) "filename", NULL
24283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24285 if (!SWIG_IsOK(res1
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24288 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24290 arg2
= wxString_in_helper(obj1
);
24291 if (arg2
== NULL
) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 (arg1
)->SetFilename((wxString
const &)*arg2
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= SWIG_Py_Void();
24315 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24316 PyObject
*resultobj
= 0;
24317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24318 PyObject
*result
= 0 ;
24321 PyObject
*swig_obj
[1] ;
24323 if (!args
) SWIG_fail
;
24324 swig_obj
[0] = args
;
24325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24329 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= result
;
24343 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
= 0;
24345 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24346 PyObject
*arg2
= (PyObject
*) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char * kwnames
[] = {
24352 (char *) "self",(char *) "data", NULL
24355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24357 if (!SWIG_IsOK(res1
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24360 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 wxPrintData_SetPrivData(arg1
,arg2
);
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= SWIG_Py_Void();
24375 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24379 return SWIG_Py_Void();
24382 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24383 return SWIG_Python_InitShadowInstance(args
);
24386 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24387 PyObject
*resultobj
= 0;
24388 wxPageSetupDialogData
*result
= 0 ;
24390 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24404 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24405 PyObject
*resultobj
= 0;
24406 wxPageSetupDialogData
*arg1
= 0 ;
24407 wxPageSetupDialogData
*result
= 0 ;
24411 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24419 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24433 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24434 PyObject
*resultobj
= 0;
24435 wxPrintData
*arg1
= 0 ;
24436 wxPageSetupDialogData
*result
= 0 ;
24440 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24448 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24462 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24466 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24469 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24474 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24475 _v
= SWIG_CheckState(res
);
24477 if (!_v
) goto check_2
;
24478 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24483 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24487 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24492 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24493 PyObject
*resultobj
= 0;
24494 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24497 PyObject
*swig_obj
[1] ;
24499 if (!args
) SWIG_fail
;
24500 swig_obj
[0] = args
;
24501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24502 if (!SWIG_IsOK(res1
)) {
24503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24505 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_Py_Void();
24520 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
= 0;
24522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "self",(char *) "flag", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24539 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24540 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24541 if (!SWIG_IsOK(ecode2
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24544 arg2
= static_cast< bool >(val2
);
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 (arg1
)->EnableHelp(arg2
);
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= SWIG_Py_Void();
24558 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
= 0;
24560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24566 PyObject
* obj0
= 0 ;
24567 PyObject
* obj1
= 0 ;
24568 char * kwnames
[] = {
24569 (char *) "self",(char *) "flag", NULL
24572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24574 if (!SWIG_IsOK(res1
)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24577 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24578 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24579 if (!SWIG_IsOK(ecode2
)) {
24580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24582 arg2
= static_cast< bool >(val2
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 (arg1
)->EnableMargins(arg2
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_Py_Void();
24596 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
= 0;
24598 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 char * kwnames
[] = {
24607 (char *) "self",(char *) "flag", NULL
24610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24612 if (!SWIG_IsOK(res1
)) {
24613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24615 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24617 if (!SWIG_IsOK(ecode2
)) {
24618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24620 arg2
= static_cast< bool >(val2
);
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 (arg1
)->EnableOrientation(arg2
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_Py_Void();
24634 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
= 0;
24636 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 char * kwnames
[] = {
24645 (char *) "self",(char *) "flag", NULL
24648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24650 if (!SWIG_IsOK(res1
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24653 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24654 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24655 if (!SWIG_IsOK(ecode2
)) {
24656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24658 arg2
= static_cast< bool >(val2
);
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 (arg1
)->EnablePaper(arg2
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= SWIG_Py_Void();
24672 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
= 0;
24674 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 PyObject
* obj1
= 0 ;
24682 char * kwnames
[] = {
24683 (char *) "self",(char *) "flag", NULL
24686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24688 if (!SWIG_IsOK(res1
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24691 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24692 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24693 if (!SWIG_IsOK(ecode2
)) {
24694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24696 arg2
= static_cast< bool >(val2
);
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->EnablePrinter(arg2
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_Py_Void();
24710 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 PyObject
*resultobj
= 0;
24712 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24716 PyObject
*swig_obj
[1] ;
24718 if (!args
) SWIG_fail
;
24719 swig_obj
[0] = args
;
24720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24721 if (!SWIG_IsOK(res1
)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24724 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (bool)(arg1
)->GetDefaultMinMargins();
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24740 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24741 PyObject
*resultobj
= 0;
24742 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24746 PyObject
*swig_obj
[1] ;
24748 if (!args
) SWIG_fail
;
24749 swig_obj
[0] = args
;
24750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24751 if (!SWIG_IsOK(res1
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24754 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)(arg1
)->GetEnableMargins();
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24770 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24771 PyObject
*resultobj
= 0;
24772 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24776 PyObject
*swig_obj
[1] ;
24778 if (!args
) SWIG_fail
;
24779 swig_obj
[0] = args
;
24780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24781 if (!SWIG_IsOK(res1
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24784 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (bool)(arg1
)->GetEnableOrientation();
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24800 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24801 PyObject
*resultobj
= 0;
24802 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24806 PyObject
*swig_obj
[1] ;
24808 if (!args
) SWIG_fail
;
24809 swig_obj
[0] = args
;
24810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24811 if (!SWIG_IsOK(res1
)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24814 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (bool)(arg1
)->GetEnablePaper();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24830 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 PyObject
*resultobj
= 0;
24832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24836 PyObject
*swig_obj
[1] ;
24838 if (!args
) SWIG_fail
;
24839 swig_obj
[0] = args
;
24840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24844 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (bool)(arg1
)->GetEnablePrinter();
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24861 PyObject
*resultobj
= 0;
24862 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24866 PyObject
*swig_obj
[1] ;
24868 if (!args
) SWIG_fail
;
24869 swig_obj
[0] = args
;
24870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24871 if (!SWIG_IsOK(res1
)) {
24872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24874 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 result
= (bool)(arg1
)->GetEnableHelp();
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24890 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24891 PyObject
*resultobj
= 0;
24892 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24896 PyObject
*swig_obj
[1] ;
24898 if (!args
) SWIG_fail
;
24899 swig_obj
[0] = args
;
24900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24901 if (!SWIG_IsOK(res1
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24904 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (bool)(arg1
)->GetDefaultInfo();
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24920 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24921 PyObject
*resultobj
= 0;
24922 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24926 PyObject
*swig_obj
[1] ;
24928 if (!args
) SWIG_fail
;
24929 swig_obj
[0] = args
;
24930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24931 if (!SWIG_IsOK(res1
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24934 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= (arg1
)->GetMarginTopLeft();
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24948 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24949 PyObject
*resultobj
= 0;
24950 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24954 PyObject
*swig_obj
[1] ;
24956 if (!args
) SWIG_fail
;
24957 swig_obj
[0] = args
;
24958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24959 if (!SWIG_IsOK(res1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24962 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (arg1
)->GetMarginBottomRight();
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24976 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24977 PyObject
*resultobj
= 0;
24978 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24982 PyObject
*swig_obj
[1] ;
24984 if (!args
) SWIG_fail
;
24985 swig_obj
[0] = args
;
24986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24987 if (!SWIG_IsOK(res1
)) {
24988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24990 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (arg1
)->GetMinMarginTopLeft();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25004 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 PyObject
*resultobj
= 0;
25006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25010 PyObject
*swig_obj
[1] ;
25012 if (!args
) SWIG_fail
;
25013 swig_obj
[0] = args
;
25014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25018 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (arg1
)->GetMinMarginBottomRight();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25032 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25033 PyObject
*resultobj
= 0;
25034 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25035 wxPaperSize result
;
25038 PyObject
*swig_obj
[1] ;
25040 if (!args
) SWIG_fail
;
25041 swig_obj
[0] = args
;
25042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25043 if (!SWIG_IsOK(res1
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25046 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_From_int(static_cast< int >(result
));
25060 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25061 PyObject
*resultobj
= 0;
25062 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25066 PyObject
*swig_obj
[1] ;
25068 if (!args
) SWIG_fail
;
25069 swig_obj
[0] = args
;
25070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25071 if (!SWIG_IsOK(res1
)) {
25072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25074 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (arg1
)->GetPaperSize();
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25088 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25089 PyObject
*resultobj
= 0;
25090 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25091 wxPrintData
*result
= 0 ;
25094 PyObject
*swig_obj
[1] ;
25096 if (!args
) SWIG_fail
;
25097 swig_obj
[0] = args
;
25098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25099 if (!SWIG_IsOK(res1
)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25102 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25107 result
= (wxPrintData
*) &_result_ref
;
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25119 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25120 PyObject
*resultobj
= 0;
25121 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25125 PyObject
*swig_obj
[1] ;
25127 if (!args
) SWIG_fail
;
25128 swig_obj
[0] = args
;
25129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25133 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (bool)(arg1
)->Ok();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25149 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
= 0;
25151 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 PyObject
* obj1
= 0 ;
25159 char * kwnames
[] = {
25160 (char *) "self",(char *) "flag", NULL
25163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25165 if (!SWIG_IsOK(res1
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25168 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25170 if (!SWIG_IsOK(ecode2
)) {
25171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25173 arg2
= static_cast< bool >(val2
);
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 (arg1
)->SetDefaultInfo(arg2
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_Py_Void();
25187 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
= 0;
25189 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char * kwnames
[] = {
25198 (char *) "self",(char *) "flag", NULL
25201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25206 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25207 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25208 if (!SWIG_IsOK(ecode2
)) {
25209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25211 arg2
= static_cast< bool >(val2
);
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 (arg1
)->SetDefaultMinMargins(arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_Py_Void();
25225 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
= 0;
25227 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25228 wxPoint
*arg2
= 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 char * kwnames
[] = {
25235 (char *) "self",(char *) "pt", NULL
25238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25240 if (!SWIG_IsOK(res1
)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25243 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= SWIG_Py_Void();
25261 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
= 0;
25263 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25264 wxPoint
*arg2
= 0 ;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 char * kwnames
[] = {
25271 (char *) "self",(char *) "pt", NULL
25274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25279 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_Py_Void();
25297 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= 0;
25299 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25300 wxPoint
*arg2
= 0 ;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 char * kwnames
[] = {
25307 (char *) "self",(char *) "pt", NULL
25310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25312 if (!SWIG_IsOK(res1
)) {
25313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25315 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_Py_Void();
25333 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= 0;
25335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25336 wxPoint
*arg2
= 0 ;
25340 PyObject
* obj0
= 0 ;
25341 PyObject
* obj1
= 0 ;
25342 char * kwnames
[] = {
25343 (char *) "self",(char *) "pt", NULL
25346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25348 if (!SWIG_IsOK(res1
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25351 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25354 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_Py_Void();
25369 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
= 0;
25371 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25377 PyObject
* obj0
= 0 ;
25378 PyObject
* obj1
= 0 ;
25379 char * kwnames
[] = {
25380 (char *) "self",(char *) "id", NULL
25383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25385 if (!SWIG_IsOK(res1
)) {
25386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25388 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25390 if (!SWIG_IsOK(ecode2
)) {
25391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25393 arg2
= static_cast< wxPaperSize
>(val2
);
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 (arg1
)->SetPaperId(arg2
);
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= SWIG_Py_Void();
25407 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
= 0;
25409 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 char * kwnames
[] = {
25417 (char *) "self",(char *) "size", NULL
25420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25425 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25428 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= SWIG_Py_Void();
25443 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
= 0;
25445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25446 wxPrintData
*arg2
= 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 char * kwnames
[] = {
25454 (char *) "self",(char *) "printData", NULL
25457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25464 if (!SWIG_IsOK(res2
)) {
25465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25470 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= SWIG_Py_Void();
25484 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25485 PyObject
*resultobj
= 0;
25486 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25489 PyObject
*swig_obj
[1] ;
25491 if (!args
) SWIG_fail
;
25492 swig_obj
[0] = args
;
25493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25494 if (!SWIG_IsOK(res1
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25497 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 (arg1
)->CalculateIdFromPaperSize();
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_Py_Void();
25511 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25512 PyObject
*resultobj
= 0;
25513 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25516 PyObject
*swig_obj
[1] ;
25518 if (!args
) SWIG_fail
;
25519 swig_obj
[0] = args
;
25520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25521 if (!SWIG_IsOK(res1
)) {
25522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25524 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->CalculatePaperSizeFromId();
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_Py_Void();
25538 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25541 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25542 return SWIG_Py_Void();
25545 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25546 return SWIG_Python_InitShadowInstance(args
);
25549 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxWindow
*arg1
= (wxWindow
*) 0 ;
25552 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25553 wxPageSetupDialog
*result
= 0 ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 char * kwnames
[] = {
25561 (char *) "parent",(char *) "data", NULL
25564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25566 if (!SWIG_IsOK(res1
)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25572 if (!SWIG_IsOK(res2
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25575 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25578 if (!wxPyCheckForApp()) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25591 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 PyObject
*resultobj
= 0;
25593 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25596 PyObject
*swig_obj
[1] ;
25598 if (!args
) SWIG_fail
;
25599 swig_obj
[0] = args
;
25600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25601 if (!SWIG_IsOK(res1
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25604 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_Py_Void();
25619 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25620 PyObject
*resultobj
= 0;
25621 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25622 wxPageSetupDialogData
*result
= 0 ;
25625 PyObject
*swig_obj
[1] ;
25627 if (!args
) SWIG_fail
;
25628 swig_obj
[0] = args
;
25629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25630 if (!SWIG_IsOK(res1
)) {
25631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25633 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25638 result
= (wxPageSetupDialogData
*) &_result_ref
;
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25650 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 PyObject
*resultobj
= 0;
25652 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25653 wxPageSetupDialogData
*result
= 0 ;
25656 PyObject
*swig_obj
[1] ;
25658 if (!args
) SWIG_fail
;
25659 swig_obj
[0] = args
;
25660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25664 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25669 result
= (wxPageSetupDialogData
*) &_result_ref
;
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25681 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 PyObject
*resultobj
= 0;
25683 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25687 PyObject
*swig_obj
[1] ;
25689 if (!args
) SWIG_fail
;
25690 swig_obj
[0] = args
;
25691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25692 if (!SWIG_IsOK(res1
)) {
25693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25695 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 result
= (int)(arg1
)->ShowModal();
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_From_int(static_cast< int >(result
));
25709 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25713 return SWIG_Py_Void();
25716 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25717 return SWIG_Python_InitShadowInstance(args
);
25720 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25721 PyObject
*resultobj
= 0;
25722 wxPrintDialogData
*result
= 0 ;
25724 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25738 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25739 PyObject
*resultobj
= 0;
25740 wxPrintData
*arg1
= 0 ;
25741 wxPrintDialogData
*result
= 0 ;
25745 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25753 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25767 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25768 PyObject
*resultobj
= 0;
25769 wxPrintDialogData
*arg1
= 0 ;
25770 wxPrintDialogData
*result
= 0 ;
25774 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25776 if (!SWIG_IsOK(res1
)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25782 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25796 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25800 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25803 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25808 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25809 _v
= SWIG_CheckState(res
);
25811 if (!_v
) goto check_2
;
25812 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25817 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25821 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25826 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25827 PyObject
*resultobj
= 0;
25828 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25831 PyObject
*swig_obj
[1] ;
25833 if (!args
) SWIG_fail
;
25834 swig_obj
[0] = args
;
25835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25836 if (!SWIG_IsOK(res1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25839 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_Py_Void();
25854 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25855 PyObject
*resultobj
= 0;
25856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25868 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_From_int(static_cast< int >(result
));
25882 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 PyObject
*resultobj
= 0;
25884 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25888 PyObject
*swig_obj
[1] ;
25890 if (!args
) SWIG_fail
;
25891 swig_obj
[0] = args
;
25892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25896 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_From_int(static_cast< int >(result
));
25910 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25911 PyObject
*resultobj
= 0;
25912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25916 PyObject
*swig_obj
[1] ;
25918 if (!args
) SWIG_fail
;
25919 swig_obj
[0] = args
;
25920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25921 if (!SWIG_IsOK(res1
)) {
25922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25924 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_From_int(static_cast< int >(result
));
25938 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25939 PyObject
*resultobj
= 0;
25940 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25944 PyObject
*swig_obj
[1] ;
25946 if (!args
) SWIG_fail
;
25947 swig_obj
[0] = args
;
25948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25952 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_From_int(static_cast< int >(result
));
25966 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25967 PyObject
*resultobj
= 0;
25968 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25972 PyObject
*swig_obj
[1] ;
25974 if (!args
) SWIG_fail
;
25975 swig_obj
[0] = args
;
25976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25977 if (!SWIG_IsOK(res1
)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25980 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= SWIG_From_int(static_cast< int >(result
));
25994 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25995 PyObject
*resultobj
= 0;
25996 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26000 PyObject
*swig_obj
[1] ;
26002 if (!args
) SWIG_fail
;
26003 swig_obj
[0] = args
;
26004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26005 if (!SWIG_IsOK(res1
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26008 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26024 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26025 PyObject
*resultobj
= 0;
26026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26030 PyObject
*swig_obj
[1] ;
26032 if (!args
) SWIG_fail
;
26033 swig_obj
[0] = args
;
26034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26035 if (!SWIG_IsOK(res1
)) {
26036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26038 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26054 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26055 PyObject
*resultobj
= 0;
26056 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26060 PyObject
*swig_obj
[1] ;
26062 if (!args
) SWIG_fail
;
26063 swig_obj
[0] = args
;
26064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26068 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26084 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26085 PyObject
*resultobj
= 0;
26086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26090 PyObject
*swig_obj
[1] ;
26092 if (!args
) SWIG_fail
;
26093 swig_obj
[0] = args
;
26094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26095 if (!SWIG_IsOK(res1
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26098 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26114 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
= 0;
26116 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26122 PyObject
* obj0
= 0 ;
26123 PyObject
* obj1
= 0 ;
26124 char * kwnames
[] = {
26125 (char *) "self",(char *) "v", NULL
26128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26133 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26135 if (!SWIG_IsOK(ecode2
)) {
26136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26138 arg2
= static_cast< int >(val2
);
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 (arg1
)->SetFromPage(arg2
);
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= SWIG_Py_Void();
26152 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26153 PyObject
*resultobj
= 0;
26154 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26160 PyObject
* obj0
= 0 ;
26161 PyObject
* obj1
= 0 ;
26162 char * kwnames
[] = {
26163 (char *) "self",(char *) "v", NULL
26166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26168 if (!SWIG_IsOK(res1
)) {
26169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26171 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26173 if (!SWIG_IsOK(ecode2
)) {
26174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26176 arg2
= static_cast< int >(val2
);
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 (arg1
)->SetToPage(arg2
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= SWIG_Py_Void();
26190 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
= 0;
26192 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26198 PyObject
* obj0
= 0 ;
26199 PyObject
* obj1
= 0 ;
26200 char * kwnames
[] = {
26201 (char *) "self",(char *) "v", NULL
26204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26209 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26211 if (!SWIG_IsOK(ecode2
)) {
26212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26214 arg2
= static_cast< int >(val2
);
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 (arg1
)->SetMinPage(arg2
);
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_Py_Void();
26228 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
= 0;
26230 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26236 PyObject
* obj0
= 0 ;
26237 PyObject
* obj1
= 0 ;
26238 char * kwnames
[] = {
26239 (char *) "self",(char *) "v", NULL
26242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26247 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26249 if (!SWIG_IsOK(ecode2
)) {
26250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26252 arg2
= static_cast< int >(val2
);
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->SetMaxPage(arg2
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= SWIG_Py_Void();
26266 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
= 0;
26268 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char * kwnames
[] = {
26277 (char *) "self",(char *) "v", NULL
26280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26282 if (!SWIG_IsOK(res1
)) {
26283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26285 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26287 if (!SWIG_IsOK(ecode2
)) {
26288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26290 arg2
= static_cast< int >(val2
);
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 (arg1
)->SetNoCopies(arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_Py_Void();
26304 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
= 0;
26306 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char * kwnames
[] = {
26315 (char *) "self",(char *) "flag", NULL
26318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26320 if (!SWIG_IsOK(res1
)) {
26321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26323 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26324 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26325 if (!SWIG_IsOK(ecode2
)) {
26326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26328 arg2
= static_cast< bool >(val2
);
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 (arg1
)->SetAllPages(arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_Py_Void();
26342 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
= 0;
26344 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char * kwnames
[] = {
26353 (char *) "self",(char *) "flag", NULL
26356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26358 if (!SWIG_IsOK(res1
)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26361 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26362 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26363 if (!SWIG_IsOK(ecode2
)) {
26364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26366 arg2
= static_cast< bool >(val2
);
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->SetSelection(arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
= 0;
26382 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 char * kwnames
[] = {
26391 (char *) "self",(char *) "flag", NULL
26394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26399 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26400 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26401 if (!SWIG_IsOK(ecode2
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26404 arg2
= static_cast< bool >(val2
);
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 (arg1
)->SetCollate(arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_Py_Void();
26418 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
= 0;
26420 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char * kwnames
[] = {
26429 (char *) "self",(char *) "flag", NULL
26432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26437 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26438 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26439 if (!SWIG_IsOK(ecode2
)) {
26440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26442 arg2
= static_cast< bool >(val2
);
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetPrintToFile(arg2
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 resultobj
= SWIG_Py_Void();
26456 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
= 0;
26458 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char * kwnames
[] = {
26467 (char *) "self",(char *) "flag", NULL
26470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26475 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26476 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26477 if (!SWIG_IsOK(ecode2
)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26480 arg2
= static_cast< bool >(val2
);
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 (arg1
)->EnablePrintToFile(arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_Py_Void();
26494 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
= 0;
26496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 char * kwnames
[] = {
26505 (char *) "self",(char *) "flag", NULL
26508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26510 if (!SWIG_IsOK(res1
)) {
26511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26513 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26514 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26515 if (!SWIG_IsOK(ecode2
)) {
26516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26518 arg2
= static_cast< bool >(val2
);
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 (arg1
)->EnableSelection(arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_Py_Void();
26532 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
= 0;
26534 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 char * kwnames
[] = {
26543 (char *) "self",(char *) "flag", NULL
26546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26551 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26552 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26553 if (!SWIG_IsOK(ecode2
)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26556 arg2
= static_cast< bool >(val2
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->EnablePageNumbers(arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= SWIG_Py_Void();
26570 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
= 0;
26572 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 char * kwnames
[] = {
26581 (char *) "self",(char *) "flag", NULL
26584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26589 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26591 if (!SWIG_IsOK(ecode2
)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26594 arg2
= static_cast< bool >(val2
);
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 (arg1
)->EnableHelp(arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_Py_Void();
26608 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26609 PyObject
*resultobj
= 0;
26610 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26614 PyObject
*swig_obj
[1] ;
26616 if (!args
) SWIG_fail
;
26617 swig_obj
[0] = args
;
26618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26619 if (!SWIG_IsOK(res1
)) {
26620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26622 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26638 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26639 PyObject
*resultobj
= 0;
26640 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26644 PyObject
*swig_obj
[1] ;
26646 if (!args
) SWIG_fail
;
26647 swig_obj
[0] = args
;
26648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26652 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26668 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26669 PyObject
*resultobj
= 0;
26670 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26674 PyObject
*swig_obj
[1] ;
26676 if (!args
) SWIG_fail
;
26677 swig_obj
[0] = args
;
26678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26679 if (!SWIG_IsOK(res1
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26682 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26698 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26699 PyObject
*resultobj
= 0;
26700 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26704 PyObject
*swig_obj
[1] ;
26706 if (!args
) SWIG_fail
;
26707 swig_obj
[0] = args
;
26708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26709 if (!SWIG_IsOK(res1
)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26712 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26728 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26729 PyObject
*resultobj
= 0;
26730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26734 PyObject
*swig_obj
[1] ;
26736 if (!args
) SWIG_fail
;
26737 swig_obj
[0] = args
;
26738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26739 if (!SWIG_IsOK(res1
)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26742 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26758 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26759 PyObject
*resultobj
= 0;
26760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26761 wxPrintData
*result
= 0 ;
26764 PyObject
*swig_obj
[1] ;
26766 if (!args
) SWIG_fail
;
26767 swig_obj
[0] = args
;
26768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26769 if (!SWIG_IsOK(res1
)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26772 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26777 result
= (wxPrintData
*) &_result_ref
;
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26789 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
= 0;
26791 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26792 wxPrintData
*arg2
= 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 char * kwnames
[] = {
26800 (char *) "self",(char *) "printData", NULL
26803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26808 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26810 if (!SWIG_IsOK(res2
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26816 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_Py_Void();
26830 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26833 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26834 return SWIG_Py_Void();
26837 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26838 return SWIG_Python_InitShadowInstance(args
);
26841 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
= 0;
26843 wxWindow
*arg1
= (wxWindow
*) 0 ;
26844 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26845 wxPrintDialog
*result
= 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 char * kwnames
[] = {
26853 (char *) "parent",(char *) "data", NULL
26856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26858 if (!SWIG_IsOK(res1
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26864 if (!SWIG_IsOK(res2
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26867 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26870 if (!wxPyCheckForApp()) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26883 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26884 PyObject
*resultobj
= 0;
26885 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26888 PyObject
*swig_obj
[1] ;
26890 if (!args
) SWIG_fail
;
26891 swig_obj
[0] = args
;
26892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26893 if (!SWIG_IsOK(res1
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26896 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= SWIG_Py_Void();
26911 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26912 PyObject
*resultobj
= 0;
26913 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26917 PyObject
*swig_obj
[1] ;
26919 if (!args
) SWIG_fail
;
26920 swig_obj
[0] = args
;
26921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26922 if (!SWIG_IsOK(res1
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26925 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (int)(arg1
)->ShowModal();
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_From_int(static_cast< int >(result
));
26939 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26940 PyObject
*resultobj
= 0;
26941 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26942 wxPrintDialogData
*result
= 0 ;
26945 PyObject
*swig_obj
[1] ;
26947 if (!args
) SWIG_fail
;
26948 swig_obj
[0] = args
;
26949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26953 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26958 result
= (wxPrintDialogData
*) &_result_ref
;
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26970 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26971 PyObject
*resultobj
= 0;
26972 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26973 wxPrintData
*result
= 0 ;
26976 PyObject
*swig_obj
[1] ;
26978 if (!args
) SWIG_fail
;
26979 swig_obj
[0] = args
;
26980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26981 if (!SWIG_IsOK(res1
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26984 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26989 result
= (wxPrintData
*) &_result_ref
;
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27001 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27002 PyObject
*resultobj
= 0;
27003 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27007 PyObject
*swig_obj
[1] ;
27009 if (!args
) SWIG_fail
;
27010 swig_obj
[0] = args
;
27011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27012 if (!SWIG_IsOK(res1
)) {
27013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27015 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 result
= (wxDC
*)(arg1
)->GetPrintDC();
27019 wxPyEndAllowThreads(__tstate
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27031 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27035 return SWIG_Py_Void();
27038 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27039 return SWIG_Python_InitShadowInstance(args
);
27042 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27043 PyObject
*resultobj
= 0;
27044 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27045 wxPrinter
*result
= 0 ;
27048 PyObject
* obj0
= 0 ;
27049 char * kwnames
[] = {
27050 (char *) "data", NULL
27053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27056 if (!SWIG_IsOK(res1
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27059 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27062 if (!wxPyCheckForApp()) SWIG_fail
;
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 result
= (wxPrinter
*)new wxPrinter(arg1
);
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27075 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27076 PyObject
*resultobj
= 0;
27077 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27080 PyObject
*swig_obj
[1] ;
27082 if (!args
) SWIG_fail
;
27083 swig_obj
[0] = args
;
27084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27085 if (!SWIG_IsOK(res1
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27088 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= SWIG_Py_Void();
27103 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
= 0;
27105 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27106 wxWindow
*arg2
= (wxWindow
*) 0 ;
27107 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27108 wxWindow
*result
= 0 ;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 PyObject
* obj2
= 0 ;
27118 char * kwnames
[] = {
27119 (char *) "self",(char *) "parent",(char *) "printout", NULL
27122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27124 if (!SWIG_IsOK(res1
)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27127 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27129 if (!SWIG_IsOK(res2
)) {
27130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27132 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27133 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27134 if (!SWIG_IsOK(res3
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27137 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= wxPyMake_wxObject(result
, 0);
27153 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
= 0;
27155 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27156 wxWindow
*arg2
= (wxWindow
*) 0 ;
27157 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27158 wxString
*arg4
= 0 ;
27165 bool temp4
= false ;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 PyObject
* obj2
= 0 ;
27169 PyObject
* obj3
= 0 ;
27170 char * kwnames
[] = {
27171 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27179 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27181 if (!SWIG_IsOK(res2
)) {
27182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27185 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27186 if (!SWIG_IsOK(res3
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27189 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27191 arg4
= wxString_in_helper(obj3
);
27192 if (arg4
== NULL
) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= SWIG_Py_Void();
27216 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
= 0;
27218 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27219 wxWindow
*arg2
= (wxWindow
*) 0 ;
27225 PyObject
* obj0
= 0 ;
27226 PyObject
* obj1
= 0 ;
27227 char * kwnames
[] = {
27228 (char *) "self",(char *) "parent", NULL
27231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27233 if (!SWIG_IsOK(res1
)) {
27234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27236 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27238 if (!SWIG_IsOK(res2
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (bool)(arg1
)->Setup(arg2
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27257 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
= 0;
27259 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27260 wxWindow
*arg2
= (wxWindow
*) 0 ;
27261 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27262 bool arg4
= (bool) true ;
27272 PyObject
* obj0
= 0 ;
27273 PyObject
* obj1
= 0 ;
27274 PyObject
* obj2
= 0 ;
27275 PyObject
* obj3
= 0 ;
27276 char * kwnames
[] = {
27277 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27285 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27287 if (!SWIG_IsOK(res2
)) {
27288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27290 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27291 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27292 if (!SWIG_IsOK(res3
)) {
27293 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27295 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27297 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27298 if (!SWIG_IsOK(ecode4
)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27301 arg4
= static_cast< bool >(val4
);
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27318 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
= 0;
27320 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27321 wxWindow
*arg2
= (wxWindow
*) 0 ;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 char * kwnames
[] = {
27330 (char *) "self",(char *) "parent", NULL
27333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27338 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27340 if (!SWIG_IsOK(res2
)) {
27341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27359 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27360 PyObject
*resultobj
= 0;
27361 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27362 wxPrintDialogData
*result
= 0 ;
27365 PyObject
*swig_obj
[1] ;
27367 if (!args
) SWIG_fail
;
27368 swig_obj
[0] = args
;
27369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27370 if (!SWIG_IsOK(res1
)) {
27371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27373 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27378 result
= (wxPrintDialogData
*) &_result_ref
;
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27390 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27391 PyObject
*resultobj
= 0;
27392 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27396 PyObject
*swig_obj
[1] ;
27398 if (!args
) SWIG_fail
;
27399 swig_obj
[0] = args
;
27400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27401 if (!SWIG_IsOK(res1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27404 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 result
= (bool)(arg1
)->GetAbort();
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27420 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27421 PyObject
*resultobj
= 0;
27422 wxPrinterError result
;
27424 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (wxPrinterError
)wxPrinter::GetLastError();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_From_int(static_cast< int >(result
));
27438 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27441 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27442 return SWIG_Py_Void();
27445 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 return SWIG_Python_InitShadowInstance(args
);
27449 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
= 0;
27451 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27452 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27453 wxPyPrintout
*result
= 0 ;
27454 bool temp1
= false ;
27455 PyObject
* obj0
= 0 ;
27456 char * kwnames
[] = {
27457 (char *) "title", NULL
27460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27463 arg1
= wxString_in_helper(obj0
);
27464 if (arg1
== NULL
) SWIG_fail
;
27469 if (!wxPyCheckForApp()) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27490 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27491 PyObject
*resultobj
= 0;
27492 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27495 PyObject
*swig_obj
[1] ;
27497 if (!args
) SWIG_fail
;
27498 swig_obj
[0] = args
;
27499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27500 if (!SWIG_IsOK(res1
)) {
27501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27503 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_Py_Void();
27518 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
= 0;
27520 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27521 PyObject
*arg2
= (PyObject
*) 0 ;
27522 PyObject
*arg3
= (PyObject
*) 0 ;
27525 PyObject
* obj0
= 0 ;
27526 PyObject
* obj1
= 0 ;
27527 PyObject
* obj2
= 0 ;
27528 char * kwnames
[] = {
27529 (char *) "self",(char *) "self",(char *) "_class", NULL
27532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27534 if (!SWIG_IsOK(res1
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27537 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= SWIG_Py_Void();
27553 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27554 PyObject
*resultobj
= 0;
27555 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27559 PyObject
*swig_obj
[1] ;
27561 if (!args
) SWIG_fail
;
27562 swig_obj
[0] = args
;
27563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27564 if (!SWIG_IsOK(res1
)) {
27565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27567 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27587 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27588 PyObject
*resultobj
= 0;
27589 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27593 PyObject
*swig_obj
[1] ;
27595 if (!args
) SWIG_fail
;
27596 swig_obj
[0] = args
;
27597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27598 if (!SWIG_IsOK(res1
)) {
27599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27601 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 result
= (wxDC
*)(arg1
)->GetDC();
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27617 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
= 0;
27619 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27620 wxDC
*arg2
= (wxDC
*) 0 ;
27625 PyObject
* obj0
= 0 ;
27626 PyObject
* obj1
= 0 ;
27627 char * kwnames
[] = {
27628 (char *) "self",(char *) "dc", NULL
27631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27636 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27638 if (!SWIG_IsOK(res2
)) {
27639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27641 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 (arg1
)->SetDC(arg2
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_Py_Void();
27655 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
= 0;
27657 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 PyObject
* obj2
= 0 ;
27669 char * kwnames
[] = {
27670 (char *) "self",(char *) "w",(char *) "h", NULL
27673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27675 if (!SWIG_IsOK(res1
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27678 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27680 if (!SWIG_IsOK(ecode2
)) {
27681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27683 arg2
= static_cast< int >(val2
);
27684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27685 if (!SWIG_IsOK(ecode3
)) {
27686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27688 arg3
= static_cast< int >(val3
);
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 PyObject
*resultobj
= 0;
27704 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27705 int *arg2
= (int *) 0 ;
27706 int *arg3
= (int *) 0 ;
27710 int res2
= SWIG_TMPOBJ
;
27712 int res3
= SWIG_TMPOBJ
;
27713 PyObject
*swig_obj
[1] ;
27717 if (!args
) SWIG_fail
;
27718 swig_obj
[0] = args
;
27719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27723 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= SWIG_Py_Void();
27731 if (SWIG_IsTmpObj(res2
)) {
27732 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27734 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27737 if (SWIG_IsTmpObj(res3
)) {
27738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27740 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27749 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
= 0;
27751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 PyObject
* obj2
= 0 ;
27763 char * kwnames
[] = {
27764 (char *) "self",(char *) "w",(char *) "h", NULL
27767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27772 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27774 if (!SWIG_IsOK(ecode2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27777 arg2
= static_cast< int >(val2
);
27778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27779 if (!SWIG_IsOK(ecode3
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27782 arg3
= static_cast< int >(val3
);
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= SWIG_Py_Void();
27796 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27797 PyObject
*resultobj
= 0;
27798 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27799 int *arg2
= (int *) 0 ;
27800 int *arg3
= (int *) 0 ;
27804 int res2
= SWIG_TMPOBJ
;
27806 int res3
= SWIG_TMPOBJ
;
27807 PyObject
*swig_obj
[1] ;
27811 if (!args
) SWIG_fail
;
27812 swig_obj
[0] = args
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27817 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= SWIG_Py_Void();
27825 if (SWIG_IsTmpObj(res2
)) {
27826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27828 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27831 if (SWIG_IsTmpObj(res3
)) {
27832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27834 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27843 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
= 0;
27845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 PyObject
* obj1
= 0 ;
27856 PyObject
* obj2
= 0 ;
27857 char * kwnames
[] = {
27858 (char *) "self",(char *) "x",(char *) "y", NULL
27861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27863 if (!SWIG_IsOK(res1
)) {
27864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27866 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27868 if (!SWIG_IsOK(ecode2
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27871 arg2
= static_cast< int >(val2
);
27872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27873 if (!SWIG_IsOK(ecode3
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27876 arg3
= static_cast< int >(val3
);
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 (arg1
)->SetPPIScreen(arg2
,arg3
);
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= SWIG_Py_Void();
27890 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27891 PyObject
*resultobj
= 0;
27892 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27893 int *arg2
= (int *) 0 ;
27894 int *arg3
= (int *) 0 ;
27898 int res2
= SWIG_TMPOBJ
;
27900 int res3
= SWIG_TMPOBJ
;
27901 PyObject
*swig_obj
[1] ;
27905 if (!args
) SWIG_fail
;
27906 swig_obj
[0] = args
;
27907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27911 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 (arg1
)->GetPPIScreen(arg2
,arg3
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= SWIG_Py_Void();
27919 if (SWIG_IsTmpObj(res2
)) {
27920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27922 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27925 if (SWIG_IsTmpObj(res3
)) {
27926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27928 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27937 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
= 0;
27939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27948 PyObject
* obj0
= 0 ;
27949 PyObject
* obj1
= 0 ;
27950 PyObject
* obj2
= 0 ;
27951 char * kwnames
[] = {
27952 (char *) "self",(char *) "x",(char *) "y", NULL
27955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27957 if (!SWIG_IsOK(res1
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27960 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27962 if (!SWIG_IsOK(ecode2
)) {
27963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27965 arg2
= static_cast< int >(val2
);
27966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27967 if (!SWIG_IsOK(ecode3
)) {
27968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27970 arg3
= static_cast< int >(val3
);
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= SWIG_Py_Void();
27984 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27985 PyObject
*resultobj
= 0;
27986 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27987 int *arg2
= (int *) 0 ;
27988 int *arg3
= (int *) 0 ;
27992 int res2
= SWIG_TMPOBJ
;
27994 int res3
= SWIG_TMPOBJ
;
27995 PyObject
*swig_obj
[1] ;
27999 if (!args
) SWIG_fail
;
28000 swig_obj
[0] = args
;
28001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28002 if (!SWIG_IsOK(res1
)) {
28003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28005 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 resultobj
= SWIG_Py_Void();
28013 if (SWIG_IsTmpObj(res2
)) {
28014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28016 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28019 if (SWIG_IsTmpObj(res3
)) {
28020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28022 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28031 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28032 PyObject
*resultobj
= 0;
28033 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28037 PyObject
*swig_obj
[1] ;
28039 if (!args
) SWIG_fail
;
28040 swig_obj
[0] = args
;
28041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28042 if (!SWIG_IsOK(res1
)) {
28043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28045 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (bool)(arg1
)->IsPreview();
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28061 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
= 0;
28063 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28069 PyObject
* obj0
= 0 ;
28070 PyObject
* obj1
= 0 ;
28071 char * kwnames
[] = {
28072 (char *) "self",(char *) "p", NULL
28075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28077 if (!SWIG_IsOK(res1
)) {
28078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28080 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28081 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28082 if (!SWIG_IsOK(ecode2
)) {
28083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28085 arg2
= static_cast< bool >(val2
);
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 (arg1
)->SetIsPreview(arg2
);
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= SWIG_Py_Void();
28099 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
= 0;
28101 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28111 PyObject
* obj0
= 0 ;
28112 PyObject
* obj1
= 0 ;
28113 PyObject
* obj2
= 0 ;
28114 char * kwnames
[] = {
28115 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28123 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28125 if (!SWIG_IsOK(ecode2
)) {
28126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28128 arg2
= static_cast< int >(val2
);
28129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28130 if (!SWIG_IsOK(ecode3
)) {
28131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28133 arg3
= static_cast< int >(val3
);
28135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28136 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28149 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28150 PyObject
*resultobj
= 0;
28151 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28154 PyObject
*swig_obj
[1] ;
28156 if (!args
) SWIG_fail
;
28157 swig_obj
[0] = args
;
28158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28159 if (!SWIG_IsOK(res1
)) {
28160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28162 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 (arg1
)->OnEndDocument();
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_Py_Void();
28176 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28177 PyObject
*resultobj
= 0;
28178 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28181 PyObject
*swig_obj
[1] ;
28183 if (!args
) SWIG_fail
;
28184 swig_obj
[0] = args
;
28185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28186 if (!SWIG_IsOK(res1
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28189 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 (arg1
)->OnBeginPrinting();
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= SWIG_Py_Void();
28203 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 PyObject
*resultobj
= 0;
28205 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28208 PyObject
*swig_obj
[1] ;
28210 if (!args
) SWIG_fail
;
28211 swig_obj
[0] = args
;
28212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28213 if (!SWIG_IsOK(res1
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28216 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 (arg1
)->OnEndPrinting();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_Py_Void();
28230 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28231 PyObject
*resultobj
= 0;
28232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28235 PyObject
*swig_obj
[1] ;
28237 if (!args
) SWIG_fail
;
28238 swig_obj
[0] = args
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28243 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 (arg1
)->OnPreparePrinting();
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_Py_Void();
28257 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
= 0;
28259 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char * kwnames
[] = {
28269 (char *) "self",(char *) "page", NULL
28272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28277 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28279 if (!SWIG_IsOK(ecode2
)) {
28280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28282 arg2
= static_cast< int >(val2
);
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= (bool)(arg1
)->HasPage(arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28298 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28299 PyObject
*resultobj
= 0;
28300 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28301 int *arg2
= (int *) 0 ;
28302 int *arg3
= (int *) 0 ;
28303 int *arg4
= (int *) 0 ;
28304 int *arg5
= (int *) 0 ;
28308 int res2
= SWIG_TMPOBJ
;
28310 int res3
= SWIG_TMPOBJ
;
28312 int res4
= SWIG_TMPOBJ
;
28314 int res5
= SWIG_TMPOBJ
;
28315 PyObject
*swig_obj
[1] ;
28321 if (!args
) SWIG_fail
;
28322 swig_obj
[0] = args
;
28323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28324 if (!SWIG_IsOK(res1
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28327 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_Py_Void();
28335 if (SWIG_IsTmpObj(res2
)) {
28336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28338 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28341 if (SWIG_IsTmpObj(res3
)) {
28342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28344 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28347 if (SWIG_IsTmpObj(res4
)) {
28348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28350 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28353 if (SWIG_IsTmpObj(res5
)) {
28354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28356 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28365 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28368 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28369 return SWIG_Py_Void();
28372 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28373 return SWIG_Python_InitShadowInstance(args
);
28376 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
= 0;
28378 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28379 wxWindow
*arg2
= (wxWindow
*) 0 ;
28380 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28381 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28382 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28383 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28384 long arg5
= (long) 0 ;
28385 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28386 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28387 wxPreviewCanvas
*result
= 0 ;
28396 bool temp6
= false ;
28397 PyObject
* obj0
= 0 ;
28398 PyObject
* obj1
= 0 ;
28399 PyObject
* obj2
= 0 ;
28400 PyObject
* obj3
= 0 ;
28401 PyObject
* obj4
= 0 ;
28402 PyObject
* obj5
= 0 ;
28403 char * kwnames
[] = {
28404 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28409 if (!SWIG_IsOK(res1
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28412 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28414 if (!SWIG_IsOK(res2
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28427 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28431 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28432 if (!SWIG_IsOK(ecode5
)) {
28433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28435 arg5
= static_cast< long >(val5
);
28439 arg6
= wxString_in_helper(obj5
);
28440 if (arg6
== NULL
) SWIG_fail
;
28445 if (!wxPyCheckForApp()) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28466 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28469 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28470 return SWIG_Py_Void();
28473 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28474 return SWIG_Python_InitShadowInstance(args
);
28477 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28478 PyObject
*resultobj
= 0;
28479 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28480 wxFrame
*arg2
= (wxFrame
*) 0 ;
28481 wxString
*arg3
= 0 ;
28482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28486 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28487 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28489 wxPreviewFrame
*result
= 0 ;
28493 bool temp3
= false ;
28498 bool temp7
= false ;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 PyObject
* obj2
= 0 ;
28502 PyObject
* obj3
= 0 ;
28503 PyObject
* obj4
= 0 ;
28504 PyObject
* obj5
= 0 ;
28505 PyObject
* obj6
= 0 ;
28506 char * kwnames
[] = {
28507 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28511 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28512 if (!SWIG_IsOK(res1
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28516 if (!SWIG_IsOK(res2
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28519 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28521 arg3
= wxString_in_helper(obj2
);
28522 if (arg3
== NULL
) SWIG_fail
;
28528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28534 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28538 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28539 if (!SWIG_IsOK(ecode6
)) {
28540 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28542 arg6
= static_cast< long >(val6
);
28546 arg7
= wxString_in_helper(obj6
);
28547 if (arg7
== NULL
) SWIG_fail
;
28552 if (!wxPyCheckForApp()) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28581 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28582 PyObject
*resultobj
= 0;
28583 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28586 PyObject
*swig_obj
[1] ;
28588 if (!args
) SWIG_fail
;
28589 swig_obj
[0] = args
;
28590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28591 if (!SWIG_IsOK(res1
)) {
28592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28594 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 (arg1
)->Initialize();
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= SWIG_Py_Void();
28608 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28609 PyObject
*resultobj
= 0;
28610 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28613 PyObject
*swig_obj
[1] ;
28615 if (!args
) SWIG_fail
;
28616 swig_obj
[0] = args
;
28617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28618 if (!SWIG_IsOK(res1
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28621 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 (arg1
)->CreateControlBar();
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= SWIG_Py_Void();
28635 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28636 PyObject
*resultobj
= 0;
28637 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28640 PyObject
*swig_obj
[1] ;
28642 if (!args
) SWIG_fail
;
28643 swig_obj
[0] = args
;
28644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28648 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 (arg1
)->CreateCanvas();
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_Py_Void();
28662 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28663 PyObject
*resultobj
= 0;
28664 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28665 wxPreviewControlBar
*result
= 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28676 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28690 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28693 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28694 return SWIG_Py_Void();
28697 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28698 return SWIG_Python_InitShadowInstance(args
);
28701 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
= 0;
28703 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28705 wxWindow
*arg3
= (wxWindow
*) 0 ;
28706 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28707 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28708 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28709 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28710 long arg6
= (long) wxTAB_TRAVERSAL
;
28711 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28712 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28713 wxPreviewControlBar
*result
= 0 ;
28724 bool temp7
= false ;
28725 PyObject
* obj0
= 0 ;
28726 PyObject
* obj1
= 0 ;
28727 PyObject
* obj2
= 0 ;
28728 PyObject
* obj3
= 0 ;
28729 PyObject
* obj4
= 0 ;
28730 PyObject
* obj5
= 0 ;
28731 PyObject
* obj6
= 0 ;
28732 char * kwnames
[] = {
28733 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28738 if (!SWIG_IsOK(res1
)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28741 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28742 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28743 if (!SWIG_IsOK(ecode2
)) {
28744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28746 arg2
= static_cast< long >(val2
);
28747 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28748 if (!SWIG_IsOK(res3
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28751 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28766 if (!SWIG_IsOK(ecode6
)) {
28767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28769 arg6
= static_cast< long >(val6
);
28773 arg7
= wxString_in_helper(obj6
);
28774 if (arg7
== NULL
) SWIG_fail
;
28779 if (!wxPyCheckForApp()) SWIG_fail
;
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28800 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28801 PyObject
*resultobj
= 0;
28802 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28806 PyObject
*swig_obj
[1] ;
28808 if (!args
) SWIG_fail
;
28809 swig_obj
[0] = args
;
28810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28814 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= (int)(arg1
)->GetZoomControl();
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= SWIG_From_int(static_cast< int >(result
));
28828 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
= 0;
28830 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 char * kwnames
[] = {
28839 (char *) "self",(char *) "zoom", NULL
28842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28844 if (!SWIG_IsOK(res1
)) {
28845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28847 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28849 if (!SWIG_IsOK(ecode2
)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28852 arg2
= static_cast< int >(val2
);
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 (arg1
)->SetZoomControl(arg2
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= SWIG_Py_Void();
28866 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28867 PyObject
*resultobj
= 0;
28868 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28869 wxPrintPreview
*result
= 0 ;
28872 PyObject
*swig_obj
[1] ;
28874 if (!args
) SWIG_fail
;
28875 swig_obj
[0] = args
;
28876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28877 if (!SWIG_IsOK(res1
)) {
28878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28880 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28894 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28895 PyObject
*resultobj
= 0;
28896 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28899 PyObject
*swig_obj
[1] ;
28901 if (!args
) SWIG_fail
;
28902 swig_obj
[0] = args
;
28903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28907 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28914 resultobj
= SWIG_Py_Void();
28921 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28922 PyObject
*resultobj
= 0;
28923 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28926 PyObject
*swig_obj
[1] ;
28928 if (!args
) SWIG_fail
;
28929 swig_obj
[0] = args
;
28930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28931 if (!SWIG_IsOK(res1
)) {
28932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28934 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 (arg1
)->OnPrevious();
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= SWIG_Py_Void();
28948 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28949 PyObject
*resultobj
= 0;
28950 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28953 PyObject
*swig_obj
[1] ;
28955 if (!args
) SWIG_fail
;
28956 swig_obj
[0] = args
;
28957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28961 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_Py_Void();
28975 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28976 PyObject
*resultobj
= 0;
28977 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28988 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_Py_Void();
29002 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29003 PyObject
*resultobj
= 0;
29004 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29007 PyObject
*swig_obj
[1] ;
29009 if (!args
) SWIG_fail
;
29010 swig_obj
[0] = args
;
29011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29012 if (!SWIG_IsOK(res1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29015 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_Py_Void();
29029 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29032 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29033 return SWIG_Py_Void();
29036 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29037 return SWIG_Python_InitShadowInstance(args
);
29040 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29041 PyObject
*resultobj
= 0;
29042 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29043 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29044 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29045 wxPrintPreview
*result
= 0 ;
29051 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29052 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29053 if (!SWIG_IsOK(res1
)) {
29054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29056 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29057 if (!SWIG_IsOK(res2
)) {
29058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29061 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29062 if (!SWIG_IsOK(res3
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29065 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29068 if (!wxPyCheckForApp()) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29081 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29082 PyObject
*resultobj
= 0;
29083 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29084 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29085 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29086 wxPrintPreview
*result
= 0 ;
29092 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29093 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29097 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29098 if (!SWIG_IsOK(res2
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29101 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29102 if (!SWIG_IsOK(res3
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29105 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29107 if (!wxPyCheckForApp()) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29120 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29124 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29126 if ((argc
>= 2) && (argc
<= 3)) {
29131 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29132 _v
= SWIG_CheckState(res
);
29134 if (!_v
) goto check_1
;
29136 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29141 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29145 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29150 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29151 PyObject
*resultobj
= 0;
29152 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29155 PyObject
*swig_obj
[1] ;
29157 if (!args
) SWIG_fail
;
29158 swig_obj
[0] = args
;
29159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29163 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= SWIG_Py_Void();
29178 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
= 0;
29180 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 char * kwnames
[] = {
29190 (char *) "self",(char *) "pageNum", NULL
29193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29195 if (!SWIG_IsOK(res1
)) {
29196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29198 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29200 if (!SWIG_IsOK(ecode2
)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29203 arg2
= static_cast< int >(val2
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29219 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29220 PyObject
*resultobj
= 0;
29221 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29225 PyObject
*swig_obj
[1] ;
29227 if (!args
) SWIG_fail
;
29228 swig_obj
[0] = args
;
29229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29230 if (!SWIG_IsOK(res1
)) {
29231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29233 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (int)(arg1
)->GetCurrentPage();
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= SWIG_From_int(static_cast< int >(result
));
29247 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
= 0;
29249 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29250 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 char * kwnames
[] = {
29257 (char *) "self",(char *) "printout", NULL
29260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29262 if (!SWIG_IsOK(res1
)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29265 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29266 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29267 if (!SWIG_IsOK(res2
)) {
29268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 (arg1
)->SetPrintout(arg2
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 resultobj
= SWIG_Py_Void();
29283 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29284 PyObject
*resultobj
= 0;
29285 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29286 wxPyPrintout
*result
= 0 ;
29289 PyObject
*swig_obj
[1] ;
29291 if (!args
) SWIG_fail
;
29292 swig_obj
[0] = args
;
29293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29294 if (!SWIG_IsOK(res1
)) {
29295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29297 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= wxPyMake_wxObject(result
, 0);
29313 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29314 PyObject
*resultobj
= 0;
29315 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29316 wxPyPrintout
*result
= 0 ;
29319 PyObject
*swig_obj
[1] ;
29321 if (!args
) SWIG_fail
;
29322 swig_obj
[0] = args
;
29323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29324 if (!SWIG_IsOK(res1
)) {
29325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29327 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= wxPyMake_wxObject(result
, 0);
29343 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
= 0;
29345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29346 wxFrame
*arg2
= (wxFrame
*) 0 ;
29351 PyObject
* obj0
= 0 ;
29352 PyObject
* obj1
= 0 ;
29353 char * kwnames
[] = {
29354 (char *) "self",(char *) "frame", NULL
29357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29359 if (!SWIG_IsOK(res1
)) {
29360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29362 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29364 if (!SWIG_IsOK(res2
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29367 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 (arg1
)->SetFrame(arg2
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= SWIG_Py_Void();
29381 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
= 0;
29383 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29384 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29389 PyObject
* obj0
= 0 ;
29390 PyObject
* obj1
= 0 ;
29391 char * kwnames
[] = {
29392 (char *) "self",(char *) "canvas", NULL
29395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29400 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29402 if (!SWIG_IsOK(res2
)) {
29403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29405 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 (arg1
)->SetCanvas(arg2
);
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= SWIG_Py_Void();
29419 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29420 PyObject
*resultobj
= 0;
29421 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29422 wxFrame
*result
= 0 ;
29425 PyObject
*swig_obj
[1] ;
29427 if (!args
) SWIG_fail
;
29428 swig_obj
[0] = args
;
29429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29430 if (!SWIG_IsOK(res1
)) {
29431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29433 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (wxFrame
*)(arg1
)->GetFrame();
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= wxPyMake_wxObject(result
, 0);
29449 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29450 PyObject
*resultobj
= 0;
29451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29452 wxPreviewCanvas
*result
= 0 ;
29455 PyObject
*swig_obj
[1] ;
29457 if (!args
) SWIG_fail
;
29458 swig_obj
[0] = args
;
29459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29460 if (!SWIG_IsOK(res1
)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29463 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29477 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
= 0;
29479 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29480 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29489 PyObject
* obj0
= 0 ;
29490 PyObject
* obj1
= 0 ;
29491 PyObject
* obj2
= 0 ;
29492 char * kwnames
[] = {
29493 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29498 if (!SWIG_IsOK(res1
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29501 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29503 if (!SWIG_IsOK(res2
)) {
29504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29506 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29507 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29508 if (!SWIG_IsOK(res3
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29514 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29530 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
= 0;
29532 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29533 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 PyObject
* obj2
= 0 ;
29545 char * kwnames
[] = {
29546 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29554 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29556 if (!SWIG_IsOK(res2
)) {
29557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29559 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29560 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29561 if (!SWIG_IsOK(res3
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29567 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29583 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
= 0;
29585 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char * kwnames
[] = {
29595 (char *) "self",(char *) "pageNum", NULL
29598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29600 if (!SWIG_IsOK(res1
)) {
29601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29603 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29605 if (!SWIG_IsOK(ecode2
)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29608 arg2
= static_cast< int >(val2
);
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (bool)(arg1
)->RenderPage(arg2
);
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29624 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29625 PyObject
*resultobj
= 0;
29626 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29627 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "canvas", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29643 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29645 if (!SWIG_IsOK(res2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29648 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 (arg1
)->AdjustScrollbars(arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= SWIG_Py_Void();
29662 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29663 PyObject
*resultobj
= 0;
29664 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29665 wxPrintDialogData
*result
= 0 ;
29668 PyObject
*swig_obj
[1] ;
29670 if (!args
) SWIG_fail
;
29671 swig_obj
[0] = args
;
29672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29673 if (!SWIG_IsOK(res1
)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29676 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29681 result
= (wxPrintDialogData
*) &_result_ref
;
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29693 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= 0;
29695 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 char * kwnames
[] = {
29704 (char *) "self",(char *) "percent", NULL
29707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29712 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29714 if (!SWIG_IsOK(ecode2
)) {
29715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29717 arg2
= static_cast< int >(val2
);
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 (arg1
)->SetZoom(arg2
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= SWIG_Py_Void();
29731 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29732 PyObject
*resultobj
= 0;
29733 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29737 PyObject
*swig_obj
[1] ;
29739 if (!args
) SWIG_fail
;
29740 swig_obj
[0] = args
;
29741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29742 if (!SWIG_IsOK(res1
)) {
29743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29745 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= (int)(arg1
)->GetZoom();
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_From_int(static_cast< int >(result
));
29759 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29760 PyObject
*resultobj
= 0;
29761 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29765 PyObject
*swig_obj
[1] ;
29767 if (!args
) SWIG_fail
;
29768 swig_obj
[0] = args
;
29769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29773 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (int)(arg1
)->GetMaxPage();
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_From_int(static_cast< int >(result
));
29787 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29788 PyObject
*resultobj
= 0;
29789 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29793 PyObject
*swig_obj
[1] ;
29795 if (!args
) SWIG_fail
;
29796 swig_obj
[0] = args
;
29797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29801 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (int)(arg1
)->GetMinPage();
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29808 resultobj
= SWIG_From_int(static_cast< int >(result
));
29815 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29816 PyObject
*resultobj
= 0;
29817 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29821 PyObject
*swig_obj
[1] ;
29823 if (!args
) SWIG_fail
;
29824 swig_obj
[0] = args
;
29825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29826 if (!SWIG_IsOK(res1
)) {
29827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29829 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= (bool)(arg1
)->Ok();
29833 wxPyEndAllowThreads(__tstate
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29845 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29846 PyObject
*resultobj
= 0;
29847 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 char * kwnames
[] = {
29856 (char *) "self",(char *) "ok", NULL
29859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29864 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29865 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29866 if (!SWIG_IsOK(ecode2
)) {
29867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29869 arg2
= static_cast< bool >(val2
);
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 (arg1
)->SetOk(arg2
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= SWIG_Py_Void();
29883 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
= 0;
29885 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 char * kwnames
[] = {
29895 (char *) "self",(char *) "interactive", NULL
29898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29900 if (!SWIG_IsOK(res1
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29903 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29904 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29905 if (!SWIG_IsOK(ecode2
)) {
29906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29908 arg2
= static_cast< bool >(val2
);
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (bool)(arg1
)->Print(arg2
);
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29924 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29925 PyObject
*resultobj
= 0;
29926 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29929 PyObject
*swig_obj
[1] ;
29931 if (!args
) SWIG_fail
;
29932 swig_obj
[0] = args
;
29933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29934 if (!SWIG_IsOK(res1
)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29937 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 (arg1
)->DetermineScaling();
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= SWIG_Py_Void();
29951 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29954 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29955 return SWIG_Py_Void();
29958 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29959 return SWIG_Python_InitShadowInstance(args
);
29962 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29963 PyObject
*resultobj
= 0;
29964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29965 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29966 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29967 wxPyPrintPreview
*result
= 0 ;
29973 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29978 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29979 if (!SWIG_IsOK(res2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29983 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29984 if (!SWIG_IsOK(res3
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29987 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29990 if (!wxPyCheckForApp()) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30003 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30004 PyObject
*resultobj
= 0;
30005 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30006 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30007 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30008 wxPyPrintPreview
*result
= 0 ;
30014 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30015 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30016 if (!SWIG_IsOK(res1
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30019 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30020 if (!SWIG_IsOK(res2
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30023 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30024 if (!SWIG_IsOK(res3
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30027 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30029 if (!wxPyCheckForApp()) SWIG_fail
;
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30042 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30046 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30048 if ((argc
>= 2) && (argc
<= 3)) {
30053 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30054 _v
= SWIG_CheckState(res
);
30056 if (!_v
) goto check_1
;
30058 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30063 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30067 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30072 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
= 0;
30074 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30075 PyObject
*arg2
= (PyObject
*) 0 ;
30076 PyObject
*arg3
= (PyObject
*) 0 ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 PyObject
* obj2
= 0 ;
30082 char * kwnames
[] = {
30083 (char *) "self",(char *) "self",(char *) "_class", NULL
30086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30091 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= SWIG_Py_Void();
30107 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30111 return SWIG_Py_Void();
30114 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30115 return SWIG_Python_InitShadowInstance(args
);
30118 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30119 PyObject
*resultobj
= 0;
30120 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30121 wxFrame
*arg2
= (wxFrame
*) 0 ;
30122 wxString
*arg3
= 0 ;
30123 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30124 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30125 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30126 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30127 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30128 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30129 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30130 wxPyPreviewFrame
*result
= 0 ;
30135 bool temp3
= false ;
30140 bool temp7
= false ;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 PyObject
* obj2
= 0 ;
30144 PyObject
* obj3
= 0 ;
30145 PyObject
* obj4
= 0 ;
30146 PyObject
* obj5
= 0 ;
30147 PyObject
* obj6
= 0 ;
30148 char * kwnames
[] = {
30149 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30157 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30159 if (!SWIG_IsOK(res2
)) {
30160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30162 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30164 arg3
= wxString_in_helper(obj2
);
30165 if (arg3
== NULL
) SWIG_fail
;
30171 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30177 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30181 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30182 if (!SWIG_IsOK(ecode6
)) {
30183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30185 arg6
= static_cast< long >(val6
);
30189 arg7
= wxString_in_helper(obj6
);
30190 if (arg7
== NULL
) SWIG_fail
;
30195 if (!wxPyCheckForApp()) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30224 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
= 0;
30226 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30227 PyObject
*arg2
= (PyObject
*) 0 ;
30228 PyObject
*arg3
= (PyObject
*) 0 ;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 PyObject
* obj2
= 0 ;
30234 char * kwnames
[] = {
30235 (char *) "self",(char *) "self",(char *) "_class", NULL
30238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30240 if (!SWIG_IsOK(res1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30243 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= SWIG_Py_Void();
30259 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30260 PyObject
*resultobj
= 0;
30261 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30262 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 PyObject
* obj1
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "self",(char *) "canvas", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30278 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30280 if (!SWIG_IsOK(res2
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30283 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 (arg1
)->SetPreviewCanvas(arg2
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_Py_Void();
30297 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
= 0;
30299 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30300 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 char * kwnames
[] = {
30308 (char *) "self",(char *) "bar", NULL
30311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30313 if (!SWIG_IsOK(res1
)) {
30314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30316 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30318 if (!SWIG_IsOK(res2
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30321 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 (arg1
)->SetControlBar(arg2
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 resultobj
= SWIG_Py_Void();
30335 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30336 PyObject
*resultobj
= 0;
30337 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30340 PyObject
*swig_obj
[1] ;
30342 if (!args
) SWIG_fail
;
30343 swig_obj
[0] = args
;
30344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30348 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 (arg1
)->Initialize();
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= SWIG_Py_Void();
30362 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 PyObject
*resultobj
= 0;
30364 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30367 PyObject
*swig_obj
[1] ;
30369 if (!args
) SWIG_fail
;
30370 swig_obj
[0] = args
;
30371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30372 if (!SWIG_IsOK(res1
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30375 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 (arg1
)->CreateCanvas();
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= SWIG_Py_Void();
30389 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30390 PyObject
*resultobj
= 0;
30391 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30394 PyObject
*swig_obj
[1] ;
30396 if (!args
) SWIG_fail
;
30397 swig_obj
[0] = args
;
30398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30399 if (!SWIG_IsOK(res1
)) {
30400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30402 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->CreateControlBar();
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= SWIG_Py_Void();
30416 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30419 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30420 return SWIG_Py_Void();
30423 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30424 return SWIG_Python_InitShadowInstance(args
);
30427 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
= 0;
30429 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30431 wxWindow
*arg3
= (wxWindow
*) 0 ;
30432 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30433 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30434 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30435 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30436 long arg6
= (long) 0 ;
30437 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30438 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30439 wxPyPreviewControlBar
*result
= 0 ;
30450 bool temp7
= false ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 PyObject
* obj2
= 0 ;
30454 PyObject
* obj3
= 0 ;
30455 PyObject
* obj4
= 0 ;
30456 PyObject
* obj5
= 0 ;
30457 PyObject
* obj6
= 0 ;
30458 char * kwnames
[] = {
30459 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30464 if (!SWIG_IsOK(res1
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30467 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30469 if (!SWIG_IsOK(ecode2
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30472 arg2
= static_cast< long >(val2
);
30473 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30474 if (!SWIG_IsOK(res3
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30477 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30481 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30487 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30491 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30492 if (!SWIG_IsOK(ecode6
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30495 arg6
= static_cast< long >(val6
);
30499 arg7
= wxString_in_helper(obj6
);
30500 if (arg7
== NULL
) SWIG_fail
;
30505 if (!wxPyCheckForApp()) SWIG_fail
;
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30526 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30529 PyObject
*arg2
= (PyObject
*) 0 ;
30530 PyObject
*arg3
= (PyObject
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 PyObject
* obj1
= 0 ;
30535 PyObject
* obj2
= 0 ;
30536 char * kwnames
[] = {
30537 (char *) "self",(char *) "self",(char *) "_class", NULL
30540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30542 if (!SWIG_IsOK(res1
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30545 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= SWIG_Py_Void();
30561 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
= 0;
30563 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30564 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char * kwnames
[] = {
30572 (char *) "self",(char *) "preview", NULL
30575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30577 if (!SWIG_IsOK(res1
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30580 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30582 if (!SWIG_IsOK(res2
)) {
30583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30585 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 (arg1
)->SetPrintPreview(arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 resultobj
= SWIG_Py_Void();
30599 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30600 PyObject
*resultobj
= 0;
30601 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30604 PyObject
*swig_obj
[1] ;
30606 if (!args
) SWIG_fail
;
30607 swig_obj
[0] = args
;
30608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30609 if (!SWIG_IsOK(res1
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30612 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 (arg1
)->CreateButtons();
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_Py_Void();
30626 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30627 PyObject
*resultobj
= 0;
30628 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30634 PyObject
* obj0
= 0 ;
30635 PyObject
* obj1
= 0 ;
30636 char * kwnames
[] = {
30637 (char *) "self",(char *) "zoom", NULL
30640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30642 if (!SWIG_IsOK(res1
)) {
30643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30645 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30647 if (!SWIG_IsOK(ecode2
)) {
30648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30650 arg2
= static_cast< int >(val2
);
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 (arg1
)->SetZoomControl(arg2
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_Py_Void();
30664 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30668 return SWIG_Py_Void();
30671 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30672 return SWIG_Python_InitShadowInstance(args
);
30675 static PyMethodDef SwigMethods
[] = {
30676 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30678 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30679 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30680 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30682 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30683 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30685 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30692 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30694 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30696 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30697 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30698 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30699 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30700 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30703 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30705 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30708 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30709 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30711 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30713 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30714 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30715 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30716 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30720 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30722 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30725 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30727 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30729 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30731 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30733 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30735 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30738 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30745 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30747 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30752 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30753 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30755 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30758 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30760 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30762 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30766 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30767 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30770 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30771 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30773 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30775 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30776 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30779 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30780 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30781 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30783 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30784 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30785 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30786 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30787 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30789 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30792 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30801 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30802 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30804 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30805 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30807 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30809 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30810 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30812 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30818 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30819 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30822 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30823 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30825 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30827 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30829 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30831 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30833 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30835 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30836 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30839 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30840 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30841 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30842 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30843 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30844 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30846 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30854 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30856 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30859 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30860 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30863 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30864 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30866 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30867 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30868 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30871 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30873 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30875 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30876 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30877 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30880 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30882 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30884 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30886 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30888 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30889 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30890 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30893 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30895 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30896 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30897 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30899 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30901 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30902 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30906 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30907 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30908 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30909 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30913 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30914 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30916 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30919 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30920 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30922 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30925 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30926 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30927 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30930 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30931 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30932 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30934 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30943 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30944 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30945 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30946 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30948 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30949 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30952 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30953 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30955 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30958 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30959 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30960 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30963 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30964 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30966 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30967 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30969 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30974 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30975 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30981 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30982 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30984 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30988 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30990 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30991 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30992 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30993 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30995 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30996 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30997 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30999 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31001 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31002 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31004 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31005 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31006 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31007 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31008 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31009 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31014 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31015 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31017 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31018 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31019 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31022 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31023 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31026 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31027 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31035 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31036 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31037 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31038 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31039 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31040 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31041 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31042 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31043 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31044 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31047 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31048 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31049 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31051 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31052 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31054 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31055 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31057 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31059 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31060 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31062 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31063 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31064 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31065 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31067 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31068 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31069 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31070 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31071 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31072 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31079 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31080 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31082 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31083 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31084 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31087 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31088 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31091 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31092 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31093 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31095 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31096 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31097 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31098 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31102 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31103 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31105 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31106 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31107 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31108 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31112 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31113 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31115 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31117 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31119 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31120 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31122 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31124 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31125 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31126 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31127 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31128 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31129 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31130 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31131 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31134 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31135 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31137 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31139 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31140 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31141 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31143 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31145 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31146 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31148 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31156 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31157 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31158 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31159 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31160 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31161 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31162 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31163 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31164 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31166 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31174 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31175 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31176 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31177 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31178 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31179 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31180 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31181 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31182 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31184 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31192 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31193 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31194 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31195 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31196 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31197 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31198 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31199 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31200 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31201 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31202 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31203 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31204 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31205 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31206 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31207 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31208 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31209 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31210 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31211 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31212 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31213 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31214 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31226 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31228 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31230 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31231 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31232 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31233 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31239 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31240 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31241 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31242 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31243 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31244 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31245 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31246 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31247 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31248 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31249 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31250 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31251 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31252 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31253 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31263 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31264 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31266 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31268 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31269 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31270 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31271 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31272 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31273 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31274 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31275 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31276 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31277 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31278 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31279 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31280 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31281 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31282 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31283 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31284 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31298 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31299 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31300 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31301 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31302 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31303 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31305 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31306 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31308 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31309 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31310 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31311 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31312 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31313 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31314 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31316 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31322 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31323 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31324 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31325 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31326 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31328 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31330 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31331 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31334 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31336 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31338 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31340 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31341 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31344 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31345 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31346 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31347 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31349 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31350 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31351 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31353 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31354 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31356 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31357 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31358 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31359 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31360 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31361 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31363 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31365 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31366 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31367 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31368 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31369 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31370 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31371 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31372 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31373 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31374 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31376 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31378 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31379 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31382 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31383 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31388 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31390 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31391 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31392 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31393 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31396 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31397 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31398 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31399 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31401 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31402 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31407 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31408 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31409 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31410 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31411 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31415 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31417 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31418 { NULL
, NULL
, 0, NULL
}
31422 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31424 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31425 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31427 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31430 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31431 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31433 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31434 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31436 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31437 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31439 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31440 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31442 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31443 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31445 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31446 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31448 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31449 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31451 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31452 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31454 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31455 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31457 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31460 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31461 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31463 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31464 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31466 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31467 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31469 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31472 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31473 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31475 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31476 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31478 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31479 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31481 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31482 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31484 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31485 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31487 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31488 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31490 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31493 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31496 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31497 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31499 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31500 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31502 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31503 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31505 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31506 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31508 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31509 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31511 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31512 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31514 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31515 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31517 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31518 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31520 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31521 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31523 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31524 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31526 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31527 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31529 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31530 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31532 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31533 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31535 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31536 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31538 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31539 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31541 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31542 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31544 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31545 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31547 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31548 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31550 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31551 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31553 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31554 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31556 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31557 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31559 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31560 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31562 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31563 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31565 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31568 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31571 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31572 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31574 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31575 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31577 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31578 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31580 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31581 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31583 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31586 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31589 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31592 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31595 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31598 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31601 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31604 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31607 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31608 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31610 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31611 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31613 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31616 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31619 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31622 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31623 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31625 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31628 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31629 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31631 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31634 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31637 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31638 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31640 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31643 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31644 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31646 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31647 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31649 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31652 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31655 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31658 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31661 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31664 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31665 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31667 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31670 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31671 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31673 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31676 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31679 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31682 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31685 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31688 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31689 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31691 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31694 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31697 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31700 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31703 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31706 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31709 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31710 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31712 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31713 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31715 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31716 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31718 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31719 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31721 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31722 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31724 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31725 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31727 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31728 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31730 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31731 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31733 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31736 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31739 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31742 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31745 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31748 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31751 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31754 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31757 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31760 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31763 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) ((wxSizer
*) x
));
31766 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31769 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31772 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31775 static void *_p_wxEventTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) ((wxEvent
*) x
));
31778 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) ((wxFontData
*) x
));
31781 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31784 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31787 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31790 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31793 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31796 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31799 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31802 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31805 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31808 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31811 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31814 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31817 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31820 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31823 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31826 static void *_p_wxControlTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31829 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31832 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31835 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31838 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31841 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31844 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31847 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) ((wxColourData
*) x
));
31850 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31853 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31856 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31859 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31862 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31865 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31868 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31871 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31874 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31877 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31880 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31883 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31886 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31889 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31892 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31895 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31898 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31901 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31904 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31907 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31910 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31913 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31916 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31919 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31922 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31925 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31928 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31931 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31934 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31937 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31938 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31940 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31941 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31943 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31944 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31946 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31949 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31952 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31953 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31955 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31958 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31961 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31962 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31964 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31965 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31967 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31970 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31973 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31974 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31976 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31977 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31979 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31982 static void *_p_wxImageTo_p_wxObject(void *x
) {
31983 return (void *)((wxObject
*) ((wxImage
*) x
));
31985 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31988 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31989 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31991 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31992 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31994 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31995 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31997 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32000 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32003 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32006 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32007 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32009 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32010 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32012 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32013 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32015 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32018 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32021 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32024 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32027 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32030 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32033 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32036 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32039 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32042 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32045 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32048 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32051 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32054 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32057 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32060 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32061 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32063 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32064 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32066 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32069 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32072 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32075 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32078 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32081 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32082 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32084 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32085 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32087 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32088 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32090 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32091 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32093 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32094 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32096 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32097 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32099 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32100 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32102 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32103 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32105 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32106 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32108 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32111 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32112 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32114 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32117 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32120 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32121 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32123 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32124 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32126 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32129 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32132 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32133 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32135 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32136 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32138 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32141 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32142 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32144 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32145 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32147 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32148 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32150 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32151 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32153 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32154 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32156 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32157 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32159 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32160 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32162 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32163 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32165 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32166 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32168 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32169 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32171 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32172 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32174 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32175 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32177 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32178 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32180 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32181 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32183 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32184 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32186 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32187 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32189 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32190 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32192 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32193 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32195 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32196 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32198 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32199 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32201 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32202 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32204 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32205 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32207 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32208 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32210 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32211 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32213 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32214 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32216 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32217 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32219 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32222 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32223 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32225 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32226 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32228 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32229 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32231 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32232 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32234 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32235 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32237 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32240 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32241 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32243 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32244 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32246 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32249 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32252 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32255 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32256 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32258 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32259 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32261 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32262 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32264 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32265 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32267 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32268 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32270 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32271 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32273 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32274 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32276 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32277 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32279 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32280 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32282 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32283 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32285 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32286 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32288 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32289 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32291 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32292 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32294 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32295 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32297 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32298 return (void *)((wxWindow
*) ((wxControl
*) x
));
32300 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32303 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32306 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32309 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32310 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32312 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32313 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32315 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32316 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32318 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32319 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32321 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32322 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32324 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32325 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32327 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32328 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32330 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32331 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32333 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32334 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32336 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32337 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32339 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32340 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32342 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32343 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32345 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32346 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32348 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32349 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32351 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32352 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32354 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32355 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32357 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32358 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32360 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32361 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32363 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32364 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32366 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32367 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32369 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32370 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32372 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32373 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32375 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32376 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32378 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32379 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32381 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32382 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32384 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32385 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32387 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32388 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32390 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32391 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32393 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32394 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32396 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32397 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32399 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32400 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32402 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32403 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32405 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32406 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32408 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32409 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32411 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32412 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32414 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32415 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32417 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32418 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32420 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32421 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32423 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32424 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32426 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32427 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32429 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32430 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32432 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32433 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32435 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32436 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32438 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32439 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32441 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32442 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32444 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32445 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32447 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32448 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32450 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32451 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32453 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32454 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32456 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32458 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};
32459 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32471 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32472 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32473 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32474 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32475 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32476 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32477 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32478 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32479 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32485 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32486 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32487 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32488 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32489 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32490 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32491 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32492 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32493 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32494 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32495 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32496 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32497 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32498 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32499 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32500 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32501 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32502 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32503 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32504 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32505 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32506 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32507 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32508 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32509 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32511 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32512 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32513 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32514 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32515 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32516 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32517 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32518 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32519 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32520 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32521 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32522 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32523 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32524 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32525 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32526 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32527 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32528 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32529 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32530 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32531 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32532 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32533 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32534 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32535 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32536 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32537 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32538 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32539 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32540 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32541 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32542 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32543 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32544 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32545 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32546 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32547 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32548 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32549 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32550 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32551 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32552 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32553 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32554 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32555 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32556 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32557 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32558 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32559 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32560 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32561 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32562 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32563 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32564 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32565 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32566 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32567 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32568 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32569 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32570 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32571 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32572 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32573 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32574 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32575 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32578 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32579 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32580 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32581 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32582 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32583 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32584 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32585 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32586 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32587 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32588 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32589 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32590 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32591 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32592 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32593 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32594 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32605 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32606 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32607 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32608 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32609 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32620 static swig_type_info
*swig_type_initial
[] = {
32623 &_swigt__p_form_ops_t
,
32625 &_swigt__p_unsigned_char
,
32626 &_swigt__p_unsigned_int
,
32627 &_swigt__p_unsigned_long
,
32628 &_swigt__p_wxANIHandler
,
32629 &_swigt__p_wxAcceleratorTable
,
32630 &_swigt__p_wxActivateEvent
,
32631 &_swigt__p_wxArrayInt
,
32632 &_swigt__p_wxBMPHandler
,
32633 &_swigt__p_wxBitmap
,
32634 &_swigt__p_wxBoxSizer
,
32635 &_swigt__p_wxCURHandler
,
32636 &_swigt__p_wxCalculateLayoutEvent
,
32637 &_swigt__p_wxChildFocusEvent
,
32638 &_swigt__p_wxClipboardTextEvent
,
32639 &_swigt__p_wxCloseEvent
,
32640 &_swigt__p_wxColour
,
32641 &_swigt__p_wxColourData
,
32642 &_swigt__p_wxColourDialog
,
32643 &_swigt__p_wxCommandEvent
,
32644 &_swigt__p_wxContextMenuEvent
,
32645 &_swigt__p_wxControl
,
32646 &_swigt__p_wxControlWithItems
,
32648 &_swigt__p_wxDateEvent
,
32649 &_swigt__p_wxDialog
,
32650 &_swigt__p_wxDirDialog
,
32651 &_swigt__p_wxDisplayChangedEvent
,
32652 &_swigt__p_wxDropFilesEvent
,
32653 &_swigt__p_wxDuplexMode
,
32654 &_swigt__p_wxEraseEvent
,
32655 &_swigt__p_wxEvent
,
32656 &_swigt__p_wxEvtHandler
,
32657 &_swigt__p_wxFSFile
,
32658 &_swigt__p_wxFileDialog
,
32659 &_swigt__p_wxFileSystem
,
32660 &_swigt__p_wxFindDialogEvent
,
32661 &_swigt__p_wxFindReplaceData
,
32662 &_swigt__p_wxFindReplaceDialog
,
32663 &_swigt__p_wxFlexGridSizer
,
32664 &_swigt__p_wxFocusEvent
,
32666 &_swigt__p_wxFontData
,
32667 &_swigt__p_wxFontDialog
,
32668 &_swigt__p_wxFrame
,
32669 &_swigt__p_wxGBSizerItem
,
32670 &_swigt__p_wxGIFHandler
,
32671 &_swigt__p_wxGridBagSizer
,
32672 &_swigt__p_wxGridSizer
,
32673 &_swigt__p_wxHtmlLinkInfo
,
32674 &_swigt__p_wxICOHandler
,
32676 &_swigt__p_wxIconBundle
,
32677 &_swigt__p_wxIconizeEvent
,
32678 &_swigt__p_wxIdleEvent
,
32679 &_swigt__p_wxImage
,
32680 &_swigt__p_wxImageHandler
,
32681 &_swigt__p_wxIndividualLayoutConstraint
,
32682 &_swigt__p_wxInitDialogEvent
,
32683 &_swigt__p_wxJPEGHandler
,
32684 &_swigt__p_wxKeyEvent
,
32685 &_swigt__p_wxLayoutAlgorithm
,
32686 &_swigt__p_wxLayoutConstraints
,
32687 &_swigt__p_wxMDIChildFrame
,
32688 &_swigt__p_wxMDIClientWindow
,
32689 &_swigt__p_wxMDIParentFrame
,
32690 &_swigt__p_wxMaximizeEvent
,
32692 &_swigt__p_wxMenuBar
,
32693 &_swigt__p_wxMenuEvent
,
32694 &_swigt__p_wxMenuItem
,
32695 &_swigt__p_wxMessageDialog
,
32696 &_swigt__p_wxMiniFrame
,
32697 &_swigt__p_wxMouseCaptureChangedEvent
,
32698 &_swigt__p_wxMouseEvent
,
32699 &_swigt__p_wxMoveEvent
,
32700 &_swigt__p_wxMultiChoiceDialog
,
32701 &_swigt__p_wxNavigationKeyEvent
,
32702 &_swigt__p_wxNcPaintEvent
,
32703 &_swigt__p_wxNotifyEvent
,
32704 &_swigt__p_wxObject
,
32705 &_swigt__p_wxPCXHandler
,
32706 &_swigt__p_wxPNGHandler
,
32707 &_swigt__p_wxPNMHandler
,
32708 &_swigt__p_wxPageSetupDialog
,
32709 &_swigt__p_wxPageSetupDialogData
,
32710 &_swigt__p_wxPaintEvent
,
32711 &_swigt__p_wxPaletteChangedEvent
,
32712 &_swigt__p_wxPanel
,
32713 &_swigt__p_wxPaperSize
,
32714 &_swigt__p_wxPasswordEntryDialog
,
32715 &_swigt__p_wxPoint
,
32716 &_swigt__p_wxPopupWindow
,
32717 &_swigt__p_wxPreviewCanvas
,
32718 &_swigt__p_wxPreviewControlBar
,
32719 &_swigt__p_wxPreviewFrame
,
32720 &_swigt__p_wxPrintData
,
32721 &_swigt__p_wxPrintDialog
,
32722 &_swigt__p_wxPrintDialogData
,
32723 &_swigt__p_wxPrintPreview
,
32724 &_swigt__p_wxPrinter
,
32725 &_swigt__p_wxProgressDialog
,
32726 &_swigt__p_wxPyApp
,
32727 &_swigt__p_wxPyCommandEvent
,
32728 &_swigt__p_wxPyEvent
,
32729 &_swigt__p_wxPyHtmlListBox
,
32730 &_swigt__p_wxPyImageHandler
,
32731 &_swigt__p_wxPyPanel
,
32732 &_swigt__p_wxPyPopupTransientWindow
,
32733 &_swigt__p_wxPyPreviewControlBar
,
32734 &_swigt__p_wxPyPreviewFrame
,
32735 &_swigt__p_wxPyPrintPreview
,
32736 &_swigt__p_wxPyPrintout
,
32737 &_swigt__p_wxPyScrolledWindow
,
32738 &_swigt__p_wxPySizer
,
32739 &_swigt__p_wxPyTaskBarIcon
,
32740 &_swigt__p_wxPyVListBox
,
32741 &_swigt__p_wxPyVScrolledWindow
,
32742 &_swigt__p_wxPyValidator
,
32743 &_swigt__p_wxPyWindow
,
32744 &_swigt__p_wxQueryLayoutInfoEvent
,
32745 &_swigt__p_wxQueryNewPaletteEvent
,
32747 &_swigt__p_wxRegion
,
32748 &_swigt__p_wxSashEvent
,
32749 &_swigt__p_wxSashLayoutWindow
,
32750 &_swigt__p_wxSashWindow
,
32751 &_swigt__p_wxScrollEvent
,
32752 &_swigt__p_wxScrollWinEvent
,
32753 &_swigt__p_wxScrolledWindow
,
32754 &_swigt__p_wxSetCursorEvent
,
32755 &_swigt__p_wxShowEvent
,
32756 &_swigt__p_wxSingleChoiceDialog
,
32758 &_swigt__p_wxSizeEvent
,
32759 &_swigt__p_wxSizer
,
32760 &_swigt__p_wxSizerItem
,
32761 &_swigt__p_wxSplashScreen
,
32762 &_swigt__p_wxSplashScreenWindow
,
32763 &_swigt__p_wxSplitterEvent
,
32764 &_swigt__p_wxSplitterWindow
,
32765 &_swigt__p_wxStaticBoxSizer
,
32766 &_swigt__p_wxStatusBar
,
32767 &_swigt__p_wxStdDialogButtonSizer
,
32768 &_swigt__p_wxString
,
32769 &_swigt__p_wxSysColourChangedEvent
,
32770 &_swigt__p_wxTIFFHandler
,
32771 &_swigt__p_wxTaskBarIcon
,
32772 &_swigt__p_wxTaskBarIconEvent
,
32773 &_swigt__p_wxTextEntryDialog
,
32774 &_swigt__p_wxTipWindow
,
32775 &_swigt__p_wxToolBar
,
32776 &_swigt__p_wxTopLevelWindow
,
32777 &_swigt__p_wxUpdateUIEvent
,
32778 &_swigt__p_wxValidator
,
32779 &_swigt__p_wxVisualAttributes
,
32780 &_swigt__p_wxWindow
,
32781 &_swigt__p_wxWindowCreateEvent
,
32782 &_swigt__p_wxWindowDestroyEvent
,
32783 &_swigt__p_wxXPMHandler
,
32786 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32808 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}};
32809 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32810 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}};
32811 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32815 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32816 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32823 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32824 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32825 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32826 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32838 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}};
32839 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32844 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}};
32845 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32853 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}};
32854 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32861 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32862 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32866 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}};
32867 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32870 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32871 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32895 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}};
32896 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32898 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}};
32899 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32902 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}};
32903 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32904 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}};
32905 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}};
32906 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32909 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}};
32910 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32914 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}};
32915 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32921 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}};
32922 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}};
32923 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32929 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}};
32930 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32931 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}};
32932 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32943 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}};
32944 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32946 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}};
32947 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32948 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}};
32950 static swig_cast_info
*swig_cast_initial
[] = {
32953 _swigc__p_form_ops_t
,
32955 _swigc__p_unsigned_char
,
32956 _swigc__p_unsigned_int
,
32957 _swigc__p_unsigned_long
,
32958 _swigc__p_wxANIHandler
,
32959 _swigc__p_wxAcceleratorTable
,
32960 _swigc__p_wxActivateEvent
,
32961 _swigc__p_wxArrayInt
,
32962 _swigc__p_wxBMPHandler
,
32963 _swigc__p_wxBitmap
,
32964 _swigc__p_wxBoxSizer
,
32965 _swigc__p_wxCURHandler
,
32966 _swigc__p_wxCalculateLayoutEvent
,
32967 _swigc__p_wxChildFocusEvent
,
32968 _swigc__p_wxClipboardTextEvent
,
32969 _swigc__p_wxCloseEvent
,
32970 _swigc__p_wxColour
,
32971 _swigc__p_wxColourData
,
32972 _swigc__p_wxColourDialog
,
32973 _swigc__p_wxCommandEvent
,
32974 _swigc__p_wxContextMenuEvent
,
32975 _swigc__p_wxControl
,
32976 _swigc__p_wxControlWithItems
,
32978 _swigc__p_wxDateEvent
,
32979 _swigc__p_wxDialog
,
32980 _swigc__p_wxDirDialog
,
32981 _swigc__p_wxDisplayChangedEvent
,
32982 _swigc__p_wxDropFilesEvent
,
32983 _swigc__p_wxDuplexMode
,
32984 _swigc__p_wxEraseEvent
,
32986 _swigc__p_wxEvtHandler
,
32987 _swigc__p_wxFSFile
,
32988 _swigc__p_wxFileDialog
,
32989 _swigc__p_wxFileSystem
,
32990 _swigc__p_wxFindDialogEvent
,
32991 _swigc__p_wxFindReplaceData
,
32992 _swigc__p_wxFindReplaceDialog
,
32993 _swigc__p_wxFlexGridSizer
,
32994 _swigc__p_wxFocusEvent
,
32996 _swigc__p_wxFontData
,
32997 _swigc__p_wxFontDialog
,
32999 _swigc__p_wxGBSizerItem
,
33000 _swigc__p_wxGIFHandler
,
33001 _swigc__p_wxGridBagSizer
,
33002 _swigc__p_wxGridSizer
,
33003 _swigc__p_wxHtmlLinkInfo
,
33004 _swigc__p_wxICOHandler
,
33006 _swigc__p_wxIconBundle
,
33007 _swigc__p_wxIconizeEvent
,
33008 _swigc__p_wxIdleEvent
,
33010 _swigc__p_wxImageHandler
,
33011 _swigc__p_wxIndividualLayoutConstraint
,
33012 _swigc__p_wxInitDialogEvent
,
33013 _swigc__p_wxJPEGHandler
,
33014 _swigc__p_wxKeyEvent
,
33015 _swigc__p_wxLayoutAlgorithm
,
33016 _swigc__p_wxLayoutConstraints
,
33017 _swigc__p_wxMDIChildFrame
,
33018 _swigc__p_wxMDIClientWindow
,
33019 _swigc__p_wxMDIParentFrame
,
33020 _swigc__p_wxMaximizeEvent
,
33022 _swigc__p_wxMenuBar
,
33023 _swigc__p_wxMenuEvent
,
33024 _swigc__p_wxMenuItem
,
33025 _swigc__p_wxMessageDialog
,
33026 _swigc__p_wxMiniFrame
,
33027 _swigc__p_wxMouseCaptureChangedEvent
,
33028 _swigc__p_wxMouseEvent
,
33029 _swigc__p_wxMoveEvent
,
33030 _swigc__p_wxMultiChoiceDialog
,
33031 _swigc__p_wxNavigationKeyEvent
,
33032 _swigc__p_wxNcPaintEvent
,
33033 _swigc__p_wxNotifyEvent
,
33034 _swigc__p_wxObject
,
33035 _swigc__p_wxPCXHandler
,
33036 _swigc__p_wxPNGHandler
,
33037 _swigc__p_wxPNMHandler
,
33038 _swigc__p_wxPageSetupDialog
,
33039 _swigc__p_wxPageSetupDialogData
,
33040 _swigc__p_wxPaintEvent
,
33041 _swigc__p_wxPaletteChangedEvent
,
33043 _swigc__p_wxPaperSize
,
33044 _swigc__p_wxPasswordEntryDialog
,
33046 _swigc__p_wxPopupWindow
,
33047 _swigc__p_wxPreviewCanvas
,
33048 _swigc__p_wxPreviewControlBar
,
33049 _swigc__p_wxPreviewFrame
,
33050 _swigc__p_wxPrintData
,
33051 _swigc__p_wxPrintDialog
,
33052 _swigc__p_wxPrintDialogData
,
33053 _swigc__p_wxPrintPreview
,
33054 _swigc__p_wxPrinter
,
33055 _swigc__p_wxProgressDialog
,
33057 _swigc__p_wxPyCommandEvent
,
33058 _swigc__p_wxPyEvent
,
33059 _swigc__p_wxPyHtmlListBox
,
33060 _swigc__p_wxPyImageHandler
,
33061 _swigc__p_wxPyPanel
,
33062 _swigc__p_wxPyPopupTransientWindow
,
33063 _swigc__p_wxPyPreviewControlBar
,
33064 _swigc__p_wxPyPreviewFrame
,
33065 _swigc__p_wxPyPrintPreview
,
33066 _swigc__p_wxPyPrintout
,
33067 _swigc__p_wxPyScrolledWindow
,
33068 _swigc__p_wxPySizer
,
33069 _swigc__p_wxPyTaskBarIcon
,
33070 _swigc__p_wxPyVListBox
,
33071 _swigc__p_wxPyVScrolledWindow
,
33072 _swigc__p_wxPyValidator
,
33073 _swigc__p_wxPyWindow
,
33074 _swigc__p_wxQueryLayoutInfoEvent
,
33075 _swigc__p_wxQueryNewPaletteEvent
,
33077 _swigc__p_wxRegion
,
33078 _swigc__p_wxSashEvent
,
33079 _swigc__p_wxSashLayoutWindow
,
33080 _swigc__p_wxSashWindow
,
33081 _swigc__p_wxScrollEvent
,
33082 _swigc__p_wxScrollWinEvent
,
33083 _swigc__p_wxScrolledWindow
,
33084 _swigc__p_wxSetCursorEvent
,
33085 _swigc__p_wxShowEvent
,
33086 _swigc__p_wxSingleChoiceDialog
,
33088 _swigc__p_wxSizeEvent
,
33090 _swigc__p_wxSizerItem
,
33091 _swigc__p_wxSplashScreen
,
33092 _swigc__p_wxSplashScreenWindow
,
33093 _swigc__p_wxSplitterEvent
,
33094 _swigc__p_wxSplitterWindow
,
33095 _swigc__p_wxStaticBoxSizer
,
33096 _swigc__p_wxStatusBar
,
33097 _swigc__p_wxStdDialogButtonSizer
,
33098 _swigc__p_wxString
,
33099 _swigc__p_wxSysColourChangedEvent
,
33100 _swigc__p_wxTIFFHandler
,
33101 _swigc__p_wxTaskBarIcon
,
33102 _swigc__p_wxTaskBarIconEvent
,
33103 _swigc__p_wxTextEntryDialog
,
33104 _swigc__p_wxTipWindow
,
33105 _swigc__p_wxToolBar
,
33106 _swigc__p_wxTopLevelWindow
,
33107 _swigc__p_wxUpdateUIEvent
,
33108 _swigc__p_wxValidator
,
33109 _swigc__p_wxVisualAttributes
,
33110 _swigc__p_wxWindow
,
33111 _swigc__p_wxWindowCreateEvent
,
33112 _swigc__p_wxWindowDestroyEvent
,
33113 _swigc__p_wxXPMHandler
,
33117 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33119 static swig_const_info swig_const_table
[] = {
33120 {0, 0, 0, 0.0, 0, 0}};
33125 /* -----------------------------------------------------------------------------
33126 * Type initialization:
33127 * This problem is tough by the requirement that no dynamic
33128 * memory is used. Also, since swig_type_info structures store pointers to
33129 * swig_cast_info structures and swig_cast_info structures store pointers back
33130 * to swig_type_info structures, we need some lookup code at initialization.
33131 * The idea is that swig generates all the structures that are needed.
33132 * The runtime then collects these partially filled structures.
33133 * The SWIG_InitializeModule function takes these initial arrays out of
33134 * swig_module, and does all the lookup, filling in the swig_module.types
33135 * array with the correct data and linking the correct swig_cast_info
33136 * structures together.
33138 * The generated swig_type_info structures are assigned staticly to an initial
33139 * array. We just loop though that array, and handle each type individually.
33140 * First we lookup if this type has been already loaded, and if so, use the
33141 * loaded structure instead of the generated one. Then we have to fill in the
33142 * cast linked list. The cast data is initially stored in something like a
33143 * two-dimensional array. Each row corresponds to a type (there are the same
33144 * number of rows as there are in the swig_type_initial array). Each entry in
33145 * a column is one of the swig_cast_info structures for that type.
33146 * The cast_initial array is actually an array of arrays, because each row has
33147 * a variable number of columns. So to actually build the cast linked list,
33148 * we find the array of casts associated with the type, and loop through it
33149 * adding the casts to the list. The one last trick we need to do is making
33150 * sure the type pointer in the swig_cast_info struct is correct.
33152 * First off, we lookup the cast->type name to see if it is already loaded.
33153 * There are three cases to handle:
33154 * 1) If the cast->type has already been loaded AND the type we are adding
33155 * casting info to has not been loaded (it is in this module), THEN we
33156 * replace the cast->type pointer with the type pointer that has already
33158 * 2) If BOTH types (the one we are adding casting info to, and the
33159 * cast->type) are loaded, THEN the cast info has already been loaded by
33160 * the previous module so we just ignore it.
33161 * 3) Finally, if cast->type has not already been loaded, then we add that
33162 * swig_cast_info to the linked list (because the cast->type) pointer will
33164 * ----------------------------------------------------------------------------- */
33174 #define SWIGRUNTIME_DEBUG
33178 SWIG_InitializeModule(void *clientdata
) {
33180 swig_module_info
*module_head
;
33181 static int init_run
= 0;
33183 clientdata
= clientdata
;
33185 if (init_run
) return;
33188 /* Initialize the swig_module */
33189 swig_module
.type_initial
= swig_type_initial
;
33190 swig_module
.cast_initial
= swig_cast_initial
;
33192 /* Try and load any already created modules */
33193 module_head
= SWIG_GetModule(clientdata
);
33195 swig_module
.next
= module_head
->next
;
33196 module_head
->next
= &swig_module
;
33198 /* This is the first module loaded */
33199 swig_module
.next
= &swig_module
;
33200 SWIG_SetModule(clientdata
, &swig_module
);
33203 /* Now work on filling in swig_module.types */
33204 #ifdef SWIGRUNTIME_DEBUG
33205 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33207 for (i
= 0; i
< swig_module
.size
; ++i
) {
33208 swig_type_info
*type
= 0;
33209 swig_type_info
*ret
;
33210 swig_cast_info
*cast
;
33212 #ifdef SWIGRUNTIME_DEBUG
33213 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33216 /* if there is another module already loaded */
33217 if (swig_module
.next
!= &swig_module
) {
33218 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33221 /* Overwrite clientdata field */
33222 #ifdef SWIGRUNTIME_DEBUG
33223 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33225 if (swig_module
.type_initial
[i
]->clientdata
) {
33226 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33227 #ifdef SWIGRUNTIME_DEBUG
33228 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33232 type
= swig_module
.type_initial
[i
];
33235 /* Insert casting types */
33236 cast
= swig_module
.cast_initial
[i
];
33237 while (cast
->type
) {
33238 /* Don't need to add information already in the list */
33240 #ifdef SWIGRUNTIME_DEBUG
33241 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33243 if (swig_module
.next
!= &swig_module
) {
33244 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33245 #ifdef SWIGRUNTIME_DEBUG
33246 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33250 if (type
== swig_module
.type_initial
[i
]) {
33251 #ifdef SWIGRUNTIME_DEBUG
33252 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33257 /* Check for casting already in the list */
33258 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33259 #ifdef SWIGRUNTIME_DEBUG
33260 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33262 if (!ocast
) ret
= 0;
33267 #ifdef SWIGRUNTIME_DEBUG
33268 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33271 type
->cast
->prev
= cast
;
33272 cast
->next
= type
->cast
;
33278 /* Set entry in modules->types array equal to the type */
33279 swig_module
.types
[i
] = type
;
33281 swig_module
.types
[i
] = 0;
33283 #ifdef SWIGRUNTIME_DEBUG
33284 printf("**** SWIG_InitializeModule: Cast List ******\n");
33285 for (i
= 0; i
< swig_module
.size
; ++i
) {
33287 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33288 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33289 while (cast
->type
) {
33290 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33294 printf("---- Total casts: %d\n",j
);
33296 printf("**** SWIG_InitializeModule: Cast List ******\n");
33300 /* This function will propagate the clientdata field of type to
33301 * any new swig_type_info structures that have been added into the list
33302 * of equivalent types. It is like calling
33303 * SWIG_TypeClientData(type, clientdata) a second time.
33306 SWIG_PropagateClientData(void) {
33308 swig_cast_info
*equiv
;
33309 static int init_run
= 0;
33311 if (init_run
) return;
33314 for (i
= 0; i
< swig_module
.size
; i
++) {
33315 if (swig_module
.types
[i
]->clientdata
) {
33316 equiv
= swig_module
.types
[i
]->cast
;
33318 if (!equiv
->converter
) {
33319 if (equiv
->type
&& !equiv
->type
->clientdata
)
33320 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33322 equiv
= equiv
->next
;
33342 /* Python-specific SWIG API */
33343 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33344 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33345 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33347 /* -----------------------------------------------------------------------------
33348 * global variable support code.
33349 * ----------------------------------------------------------------------------- */
33351 typedef struct swig_globalvar
{
33352 char *name
; /* Name of global variable */
33353 PyObject
*(*get_attr
)(void); /* Return the current value */
33354 int (*set_attr
)(PyObject
*); /* Set the value */
33355 struct swig_globalvar
*next
;
33358 typedef struct swig_varlinkobject
{
33360 swig_globalvar
*vars
;
33361 } swig_varlinkobject
;
33363 SWIGINTERN PyObject
*
33364 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33365 return PyString_FromString("<Swig global variables>");
33368 SWIGINTERN PyObject
*
33369 swig_varlink_str(swig_varlinkobject
*v
) {
33370 PyObject
*str
= PyString_FromString("(");
33371 swig_globalvar
*var
;
33372 for (var
= v
->vars
; var
; var
=var
->next
) {
33373 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33374 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33376 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33381 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33382 PyObject
*str
= swig_varlink_str(v
);
33383 fprintf(fp
,"Swig global variables ");
33384 fprintf(fp
,"%s\n", PyString_AsString(str
));
33390 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33391 swig_globalvar
*var
= v
->vars
;
33393 swig_globalvar
*n
= var
->next
;
33400 SWIGINTERN PyObject
*
33401 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33402 PyObject
*res
= NULL
;
33403 swig_globalvar
*var
= v
->vars
;
33405 if (strcmp(var
->name
,n
) == 0) {
33406 res
= (*var
->get_attr
)();
33411 if (res
== NULL
&& !PyErr_Occurred()) {
33412 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33418 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33420 swig_globalvar
*var
= v
->vars
;
33422 if (strcmp(var
->name
,n
) == 0) {
33423 res
= (*var
->set_attr
)(p
);
33428 if (res
== 1 && !PyErr_Occurred()) {
33429 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33434 SWIGINTERN PyTypeObject
*
33435 swig_varlink_type(void) {
33436 static char varlink__doc__
[] = "Swig var link object";
33437 static PyTypeObject varlink_type
;
33438 static int type_init
= 0;
33440 const PyTypeObject tmp
33442 PyObject_HEAD_INIT(NULL
)
33443 0, /* Number of items in variable part (ob_size) */
33444 (char *)"swigvarlink", /* Type name (tp_name) */
33445 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33446 0, /* Itemsize (tp_itemsize) */
33447 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33448 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33449 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33450 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33451 0, /* tp_compare */
33452 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33453 0, /* tp_as_number */
33454 0, /* tp_as_sequence */
33455 0, /* tp_as_mapping */
33458 (reprfunc
)swig_varlink_str
, /* tp_str */
33459 0, /* tp_getattro */
33460 0, /* tp_setattro */
33461 0, /* tp_as_buffer */
33463 varlink__doc__
, /* tp_doc */
33464 0, /* tp_traverse */
33466 0, /* tp_richcompare */
33467 0, /* tp_weaklistoffset */
33468 #if PY_VERSION_HEX >= 0x02020000
33469 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33471 #if PY_VERSION_HEX >= 0x02030000
33474 #ifdef COUNT_ALLOCS
33475 0,0,0,0 /* tp_alloc -> tp_next */
33478 varlink_type
= tmp
;
33479 varlink_type
.ob_type
= &PyType_Type
;
33482 return &varlink_type
;
33485 /* Create a variable linking object for use later */
33486 SWIGINTERN PyObject
*
33487 SWIG_Python_newvarlink(void) {
33488 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33492 return ((PyObject
*) result
);
33496 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33497 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33498 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33500 size_t size
= strlen(name
)+1;
33501 gv
->name
= (char *)malloc(size
);
33503 strncpy(gv
->name
,name
,size
);
33504 gv
->get_attr
= get_attr
;
33505 gv
->set_attr
= set_attr
;
33506 gv
->next
= v
->vars
;
33512 SWIGINTERN PyObject
*
33514 static PyObject
*_SWIG_globals
= 0;
33515 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33516 return _SWIG_globals
;
33519 /* -----------------------------------------------------------------------------
33520 * constants/methods manipulation
33521 * ----------------------------------------------------------------------------- */
33523 /* Install Constants */
33525 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33528 for (i
= 0; constants
[i
].type
; ++i
) {
33529 switch(constants
[i
].type
) {
33530 case SWIG_PY_POINTER
:
33531 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33533 case SWIG_PY_BINARY
:
33534 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33541 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33547 /* -----------------------------------------------------------------------------*/
33548 /* Fix SwigMethods to carry the callback ptrs when needed */
33549 /* -----------------------------------------------------------------------------*/
33552 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33553 swig_const_info
*const_table
,
33554 swig_type_info
**types
,
33555 swig_type_info
**types_initial
) {
33557 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33558 char *c
= methods
[i
].ml_doc
;
33559 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33561 swig_const_info
*ci
= 0;
33562 char *name
= c
+ 10;
33563 for (j
= 0; const_table
[j
].type
; ++j
) {
33564 if (strncmp(const_table
[j
].name
, name
,
33565 strlen(const_table
[j
].name
)) == 0) {
33566 ci
= &(const_table
[j
]);
33571 size_t shift
= (ci
->ptype
) - types
;
33572 swig_type_info
*ty
= types_initial
[shift
];
33573 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33574 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33575 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33578 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33580 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33582 strncpy(buff
, "swig_ptr: ", 10);
33584 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33585 methods
[i
].ml_doc
= ndoc
;
33597 /* -----------------------------------------------------------------------------*
33598 * Partial Init method
33599 * -----------------------------------------------------------------------------*/
33604 SWIGEXPORT
void SWIG_init(void) {
33607 /* Fix SwigMethods to carry the callback ptrs when needed */
33608 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33610 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33611 d
= PyModule_GetDict(m
);
33613 SWIG_InitializeModule(0);
33614 SWIG_InstallConstants(d
,swig_const_table
);
33617 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33618 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33619 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33620 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33621 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33622 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33623 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33624 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33625 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33626 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33627 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33628 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33629 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33630 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33631 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33632 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33633 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33634 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33635 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33636 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33637 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33638 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33639 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33640 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33641 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33642 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33643 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33644 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33645 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33646 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33647 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33648 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33649 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33650 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33651 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33652 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33653 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33654 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33655 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33656 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33657 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33658 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33659 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33660 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33661 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33662 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33663 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33664 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33665 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33666 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33667 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33668 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33669 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33670 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33671 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33672 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33673 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33674 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33675 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33676 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33677 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33678 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33679 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33680 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33681 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33682 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33683 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33684 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33685 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33686 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33687 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33688 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33689 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33690 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33691 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33692 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33693 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33694 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33695 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33696 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33697 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33698 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33699 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33700 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33701 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33702 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33703 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33704 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33705 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33706 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33707 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33708 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33709 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33710 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33711 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33712 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33713 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33714 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33715 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33716 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33717 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33718 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33720 // Map renamed classes back to their common name for OOR
33721 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33722 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33723 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33725 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33726 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33727 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33728 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33729 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33730 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33731 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33732 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33733 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33734 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33735 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33736 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33737 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33738 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33739 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33740 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33741 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33742 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33743 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33744 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33745 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33746 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33747 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33748 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33749 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33750 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33751 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33752 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33753 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33754 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33755 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33756 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33757 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33758 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33759 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33760 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33761 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33762 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33763 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33764 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33765 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33766 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33767 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33768 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33769 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33770 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33771 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33772 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33773 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33774 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33775 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33776 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33777 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33778 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33779 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33780 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33781 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33782 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33783 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33784 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33785 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33786 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33787 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33788 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33789 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33790 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33791 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33792 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33793 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33794 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33795 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33796 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33797 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33798 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33799 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33800 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33801 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33802 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33803 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33804 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33805 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33806 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33807 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33808 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33809 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33810 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33811 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33812 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33813 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33814 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33815 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33816 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33817 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33818 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33820 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");