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_wxCloseEvent swig_types[17]
2480 #define SWIGTYPE_p_wxColour swig_types[18]
2481 #define SWIGTYPE_p_wxColourData swig_types[19]
2482 #define SWIGTYPE_p_wxColourDialog swig_types[20]
2483 #define SWIGTYPE_p_wxCommandEvent swig_types[21]
2484 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2485 #define SWIGTYPE_p_wxControl swig_types[23]
2486 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2487 #define SWIGTYPE_p_wxDC swig_types[25]
2488 #define SWIGTYPE_p_wxDateEvent swig_types[26]
2489 #define SWIGTYPE_p_wxDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDirDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDuplexMode swig_types[31]
2494 #define SWIGTYPE_p_wxEraseEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvtHandler swig_types[34]
2497 #define SWIGTYPE_p_wxFSFile swig_types[35]
2498 #define SWIGTYPE_p_wxFileDialog swig_types[36]
2499 #define SWIGTYPE_p_wxFileSystem swig_types[37]
2500 #define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceData swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontData swig_types[44]
2507 #define SWIGTYPE_p_wxFontDialog swig_types[45]
2508 #define SWIGTYPE_p_wxFrame swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512 #define SWIGTYPE_p_wxGridSizer swig_types[50]
2513 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIcon swig_types[53]
2516 #define SWIGTYPE_p_wxIconBundle swig_types[54]
2517 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519 #define SWIGTYPE_p_wxImage swig_types[57]
2520 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2521 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[59]
2522 #define SWIGTYPE_p_wxInitDialogEvent swig_types[60]
2523 #define SWIGTYPE_p_wxJPEGHandler swig_types[61]
2524 #define SWIGTYPE_p_wxKeyEvent swig_types[62]
2525 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutConstraints swig_types[64]
2527 #define SWIGTYPE_p_wxMDIChildFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMDIClientWindow swig_types[66]
2529 #define SWIGTYPE_p_wxMDIParentFrame swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMenu swig_types[69]
2532 #define SWIGTYPE_p_wxMenuBar swig_types[70]
2533 #define SWIGTYPE_p_wxMenuEvent swig_types[71]
2534 #define SWIGTYPE_p_wxMenuItem swig_types[72]
2535 #define SWIGTYPE_p_wxMessageDialog swig_types[73]
2536 #define SWIGTYPE_p_wxMiniFrame swig_types[74]
2537 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMoveEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[78]
2541 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNcPaintEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNotifyEvent swig_types[81]
2544 #define SWIGTYPE_p_wxObject swig_types[82]
2545 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
2550 #define SWIGTYPE_p_wxPaintEvent swig_types[88]
2551 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPanel swig_types[90]
2553 #define SWIGTYPE_p_wxPaperSize swig_types[91]
2554 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
2555 #define SWIGTYPE_p_wxPoint swig_types[93]
2556 #define SWIGTYPE_p_wxPopupWindow swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewCanvas swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewControlBar swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewFrame swig_types[97]
2560 #define SWIGTYPE_p_wxPrintData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintDialog swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialogData swig_types[100]
2563 #define SWIGTYPE_p_wxPrintPreview swig_types[101]
2564 #define SWIGTYPE_p_wxPrinter swig_types[102]
2565 #define SWIGTYPE_p_wxProgressDialog swig_types[103]
2566 #define SWIGTYPE_p_wxPyApp swig_types[104]
2567 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
2568 #define SWIGTYPE_p_wxPyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[107]
2570 #define SWIGTYPE_p_wxPyImageHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPyPanel swig_types[109]
2572 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[110]
2573 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[112]
2575 #define SWIGTYPE_p_wxPyPrintPreview swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintout swig_types[114]
2577 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[115]
2578 #define SWIGTYPE_p_wxPySizer swig_types[116]
2579 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[117]
2580 #define SWIGTYPE_p_wxPyVListBox swig_types[118]
2581 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[119]
2582 #define SWIGTYPE_p_wxPyValidator swig_types[120]
2583 #define SWIGTYPE_p_wxPyWindow swig_types[121]
2584 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[122]
2585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[123]
2586 #define SWIGTYPE_p_wxRect swig_types[124]
2587 #define SWIGTYPE_p_wxRegion swig_types[125]
2588 #define SWIGTYPE_p_wxSashEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[127]
2590 #define SWIGTYPE_p_wxSashWindow swig_types[128]
2591 #define SWIGTYPE_p_wxScrollEvent swig_types[129]
2592 #define SWIGTYPE_p_wxScrollWinEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrolledWindow swig_types[131]
2594 #define SWIGTYPE_p_wxSetCursorEvent swig_types[132]
2595 #define SWIGTYPE_p_wxShowEvent swig_types[133]
2596 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[134]
2597 #define SWIGTYPE_p_wxSize swig_types[135]
2598 #define SWIGTYPE_p_wxSizeEvent swig_types[136]
2599 #define SWIGTYPE_p_wxSizer swig_types[137]
2600 #define SWIGTYPE_p_wxSizerItem swig_types[138]
2601 #define SWIGTYPE_p_wxSplashScreen swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[140]
2603 #define SWIGTYPE_p_wxSplitterEvent swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterWindow swig_types[142]
2605 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[143]
2606 #define SWIGTYPE_p_wxStatusBar swig_types[144]
2607 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
2608 #define SWIGTYPE_p_wxString swig_types[146]
2609 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2610 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2611 #define SWIGTYPE_p_wxTaskBarIcon swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTextEntryDialog swig_types[151]
2614 #define SWIGTYPE_p_wxTipWindow swig_types[152]
2615 #define SWIGTYPE_p_wxToolBar swig_types[153]
2616 #define SWIGTYPE_p_wxTopLevelWindow swig_types[154]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[155]
2618 #define SWIGTYPE_p_wxValidator swig_types[156]
2619 #define SWIGTYPE_p_wxVisualAttributes swig_types[157]
2620 #define SWIGTYPE_p_wxWindow swig_types[158]
2621 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[159]
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[160]
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[161]
2624 static swig_type_info
*swig_types
[163];
2625 static swig_module_info swig_module
= {swig_types
, 162, 0, 0, 0, 0};
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629 /* -------- TYPES TABLE (END) -------- */
2631 #if (PY_VERSION_HEX <= 0x02000000)
2632 # if !defined(SWIG_PYTHON_CLASSIC)
2633 # error "This python version requires to use swig with the '-classic' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodern' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodernargs' option"
2643 # error "This python version requires to use swig with the '-nofastunpack' option"
2646 /*-----------------------------------------------
2647 @(target):= _windows_.so
2648 ------------------------------------------------*/
2649 #define SWIG_init init_windows_
2651 #define SWIG_name "_windows_"
2653 #define SWIGVERSION 0x010329
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2660 #include <stdexcept>
2664 class PyObject_ptr
{
2669 PyObject_ptr() :_obj(0)
2673 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2678 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2680 if (initial_ref
) Py_XINCREF(_obj
);
2683 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2685 Py_XINCREF(item
._obj
);
2696 operator PyObject
*() const
2701 PyObject
*operator->() const
2710 struct PyObject_var
: PyObject_ptr
{
2711 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2713 PyObject_var
& operator = (PyObject
* obj
)
2723 #include "wx/wxPython/wxPython.h"
2724 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyEmptyString(wxEmptyString
);
2728 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2734 # define LLONG_MIN LONG_LONG_MIN
2737 # define LLONG_MAX LONG_LONG_MAX
2740 # define ULLONG_MAX ULONG_LONG_MAX
2745 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2747 if (PyNumber_Check(obj
)) {
2748 if (val
) *val
= PyInt_AsLong(obj
);
2751 return SWIG_TypeError
;
2756 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2759 int res
= SWIG_AsVal_long (obj
, &v
);
2760 if (SWIG_IsOK(res
)) {
2761 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2762 return SWIG_OverflowError
;
2764 if (val
) *val
= static_cast< int >(v
);
2772 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2774 if (obj
== Py_True
) {
2775 if (val
) *val
= true;
2777 } else if (obj
== Py_False
) {
2778 if (val
) *val
= false;
2782 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2783 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2789 #define SWIG_From_long PyInt_FromLong
2792 SWIGINTERNINLINE PyObject
*
2793 SWIG_From_int (int value
)
2795 return SWIG_From_long (value
);
2800 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2802 if (PyNumber_Check(obj
)) {
2803 if (val
) *val
= PyFloat_AsDouble(obj
);
2806 return SWIG_TypeError
;
2810 #define SWIG_From_double PyFloat_FromDouble
2812 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2813 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2814 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2815 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2816 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2817 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2820 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2822 self
->GetFieldRect(i
, r
);
2825 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2826 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2827 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2829 #include <wx/popupwin.h>
2832 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2835 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2836 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2837 : wxPopupTransientWindow(parent
, style
) {}
2839 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2840 DEC_PYCALLBACK__(OnDismiss
);
2841 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2846 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2847 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2848 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2851 #include <wx/tipwin.h>
2853 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2854 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2857 #include <wx/tipwin.h>
2860 #include <wx/vscroll.h>
2863 class wxPyVScrolledWindow
: public wxVScrolledWindow
2865 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2867 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2869 wxPyVScrolledWindow(wxWindow
*parent
,
2870 wxWindowID id
= wxID_ANY
,
2871 const wxPoint
& pos
= wxDefaultPosition
,
2872 const wxSize
& size
= wxDefaultSize
,
2874 const wxString
& name
= wxPyPanelNameStr
)
2875 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2878 // Overridable virtuals
2880 // this function must be overridden in the derived class and it should
2881 // return the height of the given line in pixels
2882 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2885 // this function doesn't have to be overridden but it may be useful to do
2886 // it if calculating the lines heights is a relatively expensive operation
2887 // as it gives the user code a possibility to calculate several of them at
2890 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2891 // shouldn't rely on the latter being called for all lines in the interval
2892 // specified here. It is also possible that OnGetLineHeight() will be
2893 // called for the lines outside of this interval, so this is really just a
2894 // hint, not a promise.
2896 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2898 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2901 // when the number of lines changes, we try to estimate the total height
2902 // of all lines which is a rather expensive operation in terms of lines
2903 // access, so if the user code may estimate the average height
2904 // better/faster than we do, it should override this function to implement
2907 // this function should return the best guess for the total height it may
2909 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2912 // Also expose some other interesting protected methods
2915 // find the index of the line we need to show at the top of the window such
2916 // that the last (fully or partially) visible line is the given one
2917 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2918 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2920 // get the total height of the lines between lineMin (inclusive) and
2921 // lineMax (exclusive)
2922 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2923 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2925 // update the thumb size shown by the scrollbar
2926 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2928 // remove the scrollbar completely because we don't need it
2929 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2934 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2936 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2937 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2938 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2942 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2945 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2946 return SWIG_TypeError
;
2949 *val
= (unsigned long)v
;
2954 SWIGINTERNINLINE
int
2955 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2958 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2959 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2964 SWIGINTERNINLINE PyObject
*
2965 SWIG_From_unsigned_SS_long (unsigned long value
)
2967 return (value
> LONG_MAX
) ?
2968 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2972 SWIGINTERNINLINE PyObject
*
2973 SWIG_From_size_t (size_t value
)
2975 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2979 #include <wx/vlbox.h>
2981 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2983 class wxPyVListBox
: public wxVListBox
2985 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2987 wxPyVListBox() : wxVListBox() {}
2989 wxPyVListBox(wxWindow
*parent
,
2990 wxWindowID id
= wxID_ANY
,
2991 const wxPoint
& pos
= wxDefaultPosition
,
2992 const wxSize
& size
= wxDefaultSize
,
2994 const wxString
& name
= wxPyVListBoxNameStr
)
2995 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2998 // Overridable virtuals
3000 // the derived class must implement this function to actually draw the item
3001 // with the given index on the provided DC
3002 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3003 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3006 // the derived class must implement this method to return the height of the
3008 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3009 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3012 // this method may be used to draw separators between the lines; note that
3013 // the rectangle may be modified, typically to deflate it a bit before
3014 // passing to OnDrawItem()
3016 // the base class version doesn't do anything
3017 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3018 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3021 // this method is used to draw the items background and, maybe, a border
3024 // the base class version implements a reasonable default behaviour which
3025 // consists in drawing the selected item with the standard background
3026 // colour and drawing a border around the item if it is either selected or
3028 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3035 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3037 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3038 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3039 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3040 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3043 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3044 unsigned long cookie
= 0;
3045 int selected
= self
->GetFirstSelected(cookie
);
3046 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3047 PyObject
* tup
= PyTuple_New(2);
3048 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3049 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3050 wxPyEndBlockThreads(blocked
);
3053 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3054 int selected
= self
->GetNextSelected(cookie
);
3055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3056 PyObject
* tup
= PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3058 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3059 wxPyEndBlockThreads(blocked
);
3063 #include <wx/htmllbox.h>
3066 class wxPyHtmlListBox
: public wxHtmlListBox
3068 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3070 wxPyHtmlListBox() : wxHtmlListBox() {}
3072 wxPyHtmlListBox(wxWindow
*parent
,
3073 wxWindowID id
= wxID_ANY
,
3074 const wxPoint
& pos
= wxDefaultPosition
,
3075 const wxSize
& size
= wxDefaultSize
,
3077 const wxString
& name
= wxPyVListBoxNameStr
)
3078 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3081 // Overridable virtuals
3083 // this method must be implemented in the derived class and should return
3084 // the body (i.e. without <html>) of the HTML for the given item
3085 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3087 // this function may be overridden to decorate HTML returned by OnGetItem()
3088 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3090 // These are from wxVListBox
3091 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3092 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3095 // // this method allows to customize the selection appearance: it may be used
3096 // // to specify the colour of the text which normally has the given colour
3097 // // colFg when it is inside the selection
3099 // // by default, the original colour is not used at all and all text has the
3100 // // same (default for this system) colour inside selection
3101 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3103 // // this is the same as GetSelectedTextColour() but allows to customize the
3104 // // background colour -- this is even more rarely used as you can change it
3105 // // globally using SetSelectionBackground()
3106 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3109 // This method may be overriden to handle clicking on a link in
3110 // the listbox. By default, clicking links is ignored.
3111 virtual void OnLinkClicked(size_t n
,
3112 const wxHtmlLinkInfo
& link
);
3118 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3120 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3121 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3122 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3123 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3126 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3127 const wxHtmlLinkInfo
& link
) {
3129 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3130 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3131 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3132 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3135 wxPyEndBlockThreads(blocked
);
3137 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3144 #ifndef wxHAS_TASK_BAR_ICON
3145 // implement dummy classes for platforms that don't have it
3147 class wxTaskBarIcon
: public wxEvtHandler
3150 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3154 class wxTaskBarIconEvent
: public wxEvent
3157 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3158 { wxPyRaiseNotImplemented(); }
3159 virtual wxEvent
* Clone() const { return NULL
; }
3160 bool IsOk() const { return false; }
3161 bool IsIconInstalled() const { return false; }
3162 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3163 bool RemoveIcon() { return false; }
3164 bool PopupMenu(wxMenu
*menu
) { return false; }
3168 wxEVT_TASKBAR_MOVE
= 0,
3169 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3170 wxEVT_TASKBAR_LEFT_UP
= 0,
3171 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3172 wxEVT_TASKBAR_RIGHT_UP
= 0,
3173 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3174 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3179 // Otherwise make a class that can virtualize CreatePopupMenu
3180 class wxPyTaskBarIcon
: public wxTaskBarIcon
3182 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3184 wxPyTaskBarIcon() : wxTaskBarIcon()
3187 wxMenu
* CreatePopupMenu() {
3188 wxMenu
*rval
= NULL
;
3190 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3191 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3194 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3196 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3201 wxPyEndBlockThreads(blocked
);
3203 rval
= wxTaskBarIcon::CreatePopupMenu();
3210 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3214 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3218 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3219 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3220 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3221 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3222 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3223 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3224 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3226 self
->GetFilenames(arr
);
3227 return wxArrayString2PyList_helper(arr
);
3229 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3231 self
->GetPaths(arr
);
3232 return wxArrayString2PyList_helper(arr
);
3234 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3235 return wxArrayInt2PyList_helper(self
->GetSelections());
3237 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
){
3238 return new wxSingleChoiceDialog(parent
, message
, caption
,
3239 choices
, choices_array
, NULL
, style
, pos
);
3241 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3243 SWIGINTERNINLINE PyObject
*
3244 SWIG_From_bool (bool value
)
3246 return PyBool_FromLong(value
? 1 : 0);
3252 // C++ version of Python aware wxWindow
3253 class wxPyWindow
: public wxWindow
3255 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3257 wxPyWindow() : wxWindow() {}
3258 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3259 const wxPoint
& pos
= wxDefaultPosition
,
3260 const wxSize
& size
= wxDefaultSize
,
3262 const wxString
& name
= wxPyPanelNameStr
)
3263 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3265 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3267 bool DoEraseBackground(wxDC
* dc
) {
3269 return wxWindow::DoEraseBackground(dc
->GetHDC());
3271 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3278 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3289 DEC_PYCALLBACK__(InitDialog
);
3290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3292 DEC_PYCALLBACK_BOOL_(Validate
);
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3296 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3302 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3304 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3306 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3311 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3313 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3314 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3315 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3316 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3322 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3323 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3325 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3326 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3330 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3331 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3335 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3338 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3342 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3344 // C++ version of Python aware wxPanel
3345 class wxPyPanel
: public wxPanel
3347 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3349 wxPyPanel() : wxPanel() {}
3350 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3351 const wxPoint
& pos
= wxDefaultPosition
,
3352 const wxSize
& size
= wxDefaultSize
,
3354 const wxString
& name
= wxPyPanelNameStr
)
3355 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3357 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3358 bool DoEraseBackground(wxDC
* dc
) {
3360 return wxWindow::DoEraseBackground(dc
->GetHDC());
3362 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3369 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3370 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3371 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3374 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3378 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3379 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3381 DEC_PYCALLBACK__(InitDialog
);
3382 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3383 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3384 DEC_PYCALLBACK_BOOL_(Validate
);
3386 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3388 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3390 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3391 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3393 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3394 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3396 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3398 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3403 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3405 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3406 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3407 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3408 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3410 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3411 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3414 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3415 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3417 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3418 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3422 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3423 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3426 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3427 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3429 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3430 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3434 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3436 // C++ version of Python aware wxScrolledWindow
3437 class wxPyScrolledWindow
: public wxScrolledWindow
3439 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3441 wxPyScrolledWindow() : wxScrolledWindow() {}
3442 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3443 const wxPoint
& pos
= wxDefaultPosition
,
3444 const wxSize
& size
= wxDefaultSize
,
3446 const wxString
& name
= wxPyPanelNameStr
)
3447 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3449 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3450 bool DoEraseBackground(wxDC
* dc
) {
3452 return wxWindow::DoEraseBackground(dc
->GetHDC());
3454 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3460 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3461 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3462 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3465 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3469 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3470 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3472 DEC_PYCALLBACK__(InitDialog
);
3473 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3474 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3475 DEC_PYCALLBACK_BOOL_(Validate
);
3477 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3479 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3481 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3482 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3484 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3485 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3487 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3489 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3494 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3496 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3497 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3498 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3499 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3501 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3502 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3505 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3506 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3508 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3509 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3513 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3514 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3517 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3518 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3520 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3521 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3525 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3528 #include "wx/wxPython/printfw.h"
3531 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3532 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3533 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3535 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3536 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3537 self
->GetPrivDataLen());
3538 wxPyEndBlockThreads(blocked
);
3541 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3542 if (! PyString_Check(data
)) {
3543 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3544 "Expected string object"));
3548 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3549 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3550 wxPyEndBlockThreads(blocked
);
3554 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3556 // Since this one would be tough and ugly to do with the Macros...
3557 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3558 bool hadErr
= false;
3561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3562 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3563 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3564 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3567 val
= PyTuple_GetItem(result
, 0);
3568 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3571 val
= PyTuple_GetItem(result
, 1);
3572 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3575 val
= PyTuple_GetItem(result
, 2);
3576 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3579 val
= PyTuple_GetItem(result
, 3);
3580 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3587 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3592 wxPyEndBlockThreads(blocked
);
3594 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3599 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3600 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3601 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3602 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3603 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3604 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3605 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3611 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3612 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3615 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3616 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3619 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3620 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3621 PyObject* win = wxPyMake_wxObject(a,false); \
3622 PyObject* dc = wxPyMake_wxObject(&b,false); \
3623 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3627 wxPyEndBlockThreads(blocked); \
3629 rval = PCLASS::CBNAME(a, b); \
3636 class wxPyPrintPreview
: public wxPrintPreview
3638 DECLARE_CLASS(wxPyPrintPreview
)
3640 wxPyPrintPreview(wxPyPrintout
* printout
,
3641 wxPyPrintout
* printoutForPrinting
,
3642 wxPrintDialogData
* data
=NULL
)
3643 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3645 wxPyPrintPreview(wxPyPrintout
* printout
,
3646 wxPyPrintout
* printoutForPrinting
,
3648 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3651 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3652 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3654 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3655 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3656 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3657 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3662 // Stupid renamed classes... Fix this in 2.5...
3663 #if defined(__WXMSW__)
3664 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3665 #elif defined(__WXMAC__)
3666 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3668 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3671 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3672 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3673 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3674 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3675 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3676 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3677 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3680 class wxPyPreviewFrame
: public wxPreviewFrame
3682 DECLARE_CLASS(wxPyPreviewFrame
)
3684 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3685 const wxString
& title
,
3686 const wxPoint
& pos
= wxDefaultPosition
,
3687 const wxSize
& size
= wxDefaultSize
,
3688 long style
= wxDEFAULT_FRAME_STYLE
,
3689 const wxString
& name
= wxPyFrameNameStr
)
3690 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3693 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3694 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3696 DEC_PYCALLBACK_VOID_(Initialize
);
3697 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3698 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3703 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3705 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3706 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3710 class wxPyPreviewControlBar
: public wxPreviewControlBar
3712 DECLARE_CLASS(wxPyPreviewControlBar
)
3714 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3717 const wxPoint
& pos
= wxDefaultPosition
,
3718 const wxSize
& size
= wxDefaultSize
,
3720 const wxString
& name
= wxPyPanelNameStr
)
3721 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3724 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3726 DEC_PYCALLBACK_VOID_(CreateButtons
);
3727 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3732 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3734 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3739 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
= 0;
3741 wxWindow
*arg1
= (wxWindow
*) 0 ;
3742 int arg2
= (int) (int)-1 ;
3743 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3744 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3745 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3746 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3747 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3748 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3749 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3750 wxPanel
*result
= 0 ;
3759 bool temp6
= false ;
3760 PyObject
* obj0
= 0 ;
3761 PyObject
* obj1
= 0 ;
3762 PyObject
* obj2
= 0 ;
3763 PyObject
* obj3
= 0 ;
3764 PyObject
* obj4
= 0 ;
3765 PyObject
* obj5
= 0 ;
3766 char * kwnames
[] = {
3767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3772 if (!SWIG_IsOK(res1
)) {
3773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3775 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3778 if (!SWIG_IsOK(ecode2
)) {
3779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3781 arg2
= static_cast< int >(val2
);
3786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3796 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3797 if (!SWIG_IsOK(ecode5
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3800 arg5
= static_cast< long >(val5
);
3804 arg6
= wxString_in_helper(obj5
);
3805 if (arg6
== NULL
) SWIG_fail
;
3810 if (!wxPyCheckForApp()) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3831 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3832 PyObject
*resultobj
= 0;
3833 wxPanel
*result
= 0 ;
3835 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3837 if (!wxPyCheckForApp()) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 result
= (wxPanel
*)new wxPanel();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3850 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
= 0;
3852 wxPanel
*arg1
= (wxPanel
*) 0 ;
3853 wxWindow
*arg2
= (wxWindow
*) 0 ;
3854 int arg3
= (int) (int)-1 ;
3855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3859 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3860 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3873 bool temp7
= false ;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3876 PyObject
* obj2
= 0 ;
3877 PyObject
* obj3
= 0 ;
3878 PyObject
* obj4
= 0 ;
3879 PyObject
* obj5
= 0 ;
3880 PyObject
* obj6
= 0 ;
3881 char * kwnames
[] = {
3882 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3887 if (!SWIG_IsOK(res1
)) {
3888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3890 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3892 if (!SWIG_IsOK(res2
)) {
3893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3898 if (!SWIG_IsOK(ecode3
)) {
3899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3901 arg3
= static_cast< int >(val3
);
3906 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3912 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3916 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3917 if (!SWIG_IsOK(ecode6
)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3920 arg6
= static_cast< long >(val6
);
3924 arg7
= wxString_in_helper(obj6
);
3925 if (arg7
== NULL
) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3952 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3953 PyObject
*resultobj
= 0;
3954 wxPanel
*arg1
= (wxPanel
*) 0 ;
3957 PyObject
*swig_obj
[1] ;
3959 if (!args
) SWIG_fail
;
3961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3962 if (!SWIG_IsOK(res1
)) {
3963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3965 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 (arg1
)->SetFocusIgnoringChildren();
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= SWIG_Py_Void();
3979 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
= 0;
3981 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3982 SwigValueWrapper
<wxVisualAttributes
> result
;
3985 PyObject
* obj0
= 0 ;
3986 char * kwnames
[] = {
3987 (char *) "variant", NULL
3990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3993 if (!SWIG_IsOK(ecode1
)) {
3994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3996 arg1
= static_cast< wxWindowVariant
>(val1
);
3999 if (!wxPyCheckForApp()) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4012 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4016 return SWIG_Py_Void();
4019 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4020 return SWIG_Python_InitShadowInstance(args
);
4023 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
= 0;
4025 wxWindow
*arg1
= (wxWindow
*) 0 ;
4026 int arg2
= (int) (int)-1 ;
4027 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4028 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4029 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4030 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4031 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4032 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4033 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4034 wxScrolledWindow
*result
= 0 ;
4043 bool temp6
= false ;
4044 PyObject
* obj0
= 0 ;
4045 PyObject
* obj1
= 0 ;
4046 PyObject
* obj2
= 0 ;
4047 PyObject
* obj3
= 0 ;
4048 PyObject
* obj4
= 0 ;
4049 PyObject
* obj5
= 0 ;
4050 char * kwnames
[] = {
4051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4059 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4062 if (!SWIG_IsOK(ecode2
)) {
4063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4065 arg2
= static_cast< int >(val2
);
4070 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4076 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4080 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4081 if (!SWIG_IsOK(ecode5
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4084 arg5
= static_cast< long >(val5
);
4088 arg6
= wxString_in_helper(obj5
);
4089 if (arg6
== NULL
) SWIG_fail
;
4094 if (!wxPyCheckForApp()) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4115 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4116 PyObject
*resultobj
= 0;
4117 wxScrolledWindow
*result
= 0 ;
4119 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4121 if (!wxPyCheckForApp()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4134 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
= 0;
4136 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4137 wxWindow
*arg2
= (wxWindow
*) 0 ;
4138 int arg3
= (int) (int)-1 ;
4139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4143 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4144 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4157 bool temp7
= false ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 PyObject
* obj2
= 0 ;
4161 PyObject
* obj3
= 0 ;
4162 PyObject
* obj4
= 0 ;
4163 PyObject
* obj5
= 0 ;
4164 PyObject
* obj6
= 0 ;
4165 char * kwnames
[] = {
4166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4174 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4176 if (!SWIG_IsOK(res2
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4182 if (!SWIG_IsOK(ecode3
)) {
4183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4185 arg3
= static_cast< int >(val3
);
4190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4200 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4201 if (!SWIG_IsOK(ecode6
)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4204 arg6
= static_cast< long >(val6
);
4208 arg7
= wxString_in_helper(obj6
);
4209 if (arg7
== NULL
) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4236 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4243 int arg6
= (int) 0 ;
4244 int arg7
= (int) 0 ;
4245 bool arg8
= (bool) false ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 PyObject
* obj2
= 0 ;
4265 PyObject
* obj3
= 0 ;
4266 PyObject
* obj4
= 0 ;
4267 PyObject
* obj5
= 0 ;
4268 PyObject
* obj6
= 0 ;
4269 PyObject
* obj7
= 0 ;
4270 char * kwnames
[] = {
4271 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4276 if (!SWIG_IsOK(res1
)) {
4277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4279 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4281 if (!SWIG_IsOK(ecode2
)) {
4282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4284 arg2
= static_cast< int >(val2
);
4285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4286 if (!SWIG_IsOK(ecode3
)) {
4287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4289 arg3
= static_cast< int >(val3
);
4290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4291 if (!SWIG_IsOK(ecode4
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4294 arg4
= static_cast< int >(val4
);
4295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4296 if (!SWIG_IsOK(ecode5
)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4299 arg5
= static_cast< int >(val5
);
4301 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4302 if (!SWIG_IsOK(ecode6
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4305 arg6
= static_cast< int >(val6
);
4308 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4309 if (!SWIG_IsOK(ecode7
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4312 arg7
= static_cast< int >(val7
);
4315 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4316 if (!SWIG_IsOK(ecode8
)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4319 arg8
= static_cast< bool >(val8
);
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= SWIG_Py_Void();
4334 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
= 0;
4336 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4347 PyObject
* obj2
= 0 ;
4348 char * kwnames
[] = {
4349 (char *) "self",(char *) "x",(char *) "y", NULL
4352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4354 if (!SWIG_IsOK(res1
)) {
4355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4357 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4359 if (!SWIG_IsOK(ecode2
)) {
4360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4362 arg2
= static_cast< int >(val2
);
4363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4364 if (!SWIG_IsOK(ecode3
)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4367 arg3
= static_cast< int >(val3
);
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 (arg1
)->Scroll(arg2
,arg3
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_Py_Void();
4381 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
= 0;
4383 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4392 char * kwnames
[] = {
4393 (char *) "self",(char *) "orient", NULL
4396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4398 if (!SWIG_IsOK(res1
)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4401 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4403 if (!SWIG_IsOK(ecode2
)) {
4404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4406 arg2
= static_cast< int >(val2
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_From_int(static_cast< int >(result
));
4420 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
= 0;
4422 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4431 PyObject
* obj0
= 0 ;
4432 PyObject
* obj1
= 0 ;
4433 PyObject
* obj2
= 0 ;
4434 char * kwnames
[] = {
4435 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4443 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4445 if (!SWIG_IsOK(ecode2
)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4448 arg2
= static_cast< int >(val2
);
4449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4450 if (!SWIG_IsOK(ecode3
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4453 arg3
= static_cast< int >(val3
);
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= SWIG_Py_Void();
4467 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
= 0;
4469 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 PyObject
* obj2
= 0 ;
4481 char * kwnames
[] = {
4482 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4487 if (!SWIG_IsOK(res1
)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4490 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4492 if (!SWIG_IsOK(ecode2
)) {
4493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4495 arg2
= static_cast< int >(val2
);
4496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4497 if (!SWIG_IsOK(ecode3
)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4500 arg3
= static_cast< int >(val3
);
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 (arg1
)->SetScrollRate(arg2
,arg3
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_Py_Void();
4514 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4515 PyObject
*resultobj
= 0;
4516 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4517 int *arg2
= (int *) 0 ;
4518 int *arg3
= (int *) 0 ;
4522 int res2
= SWIG_TMPOBJ
;
4524 int res3
= SWIG_TMPOBJ
;
4525 PyObject
*swig_obj
[1] ;
4529 if (!args
) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4535 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= SWIG_Py_Void();
4543 if (SWIG_IsTmpObj(res2
)) {
4544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4546 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4549 if (SWIG_IsTmpObj(res3
)) {
4550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4552 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4561 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= 0;
4563 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 PyObject
* obj2
= 0 ;
4575 char * kwnames
[] = {
4576 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4581 if (!SWIG_IsOK(res1
)) {
4582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4584 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4586 if (!SWIG_IsOK(ecode2
)) {
4587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4589 arg2
= static_cast< bool >(val2
);
4590 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4591 if (!SWIG_IsOK(ecode3
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4594 arg3
= static_cast< bool >(val3
);
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->EnableScrolling(arg2
,arg3
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_Py_Void();
4608 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4609 PyObject
*resultobj
= 0;
4610 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4611 int *arg2
= (int *) 0 ;
4612 int *arg3
= (int *) 0 ;
4616 int res2
= SWIG_TMPOBJ
;
4618 int res3
= SWIG_TMPOBJ
;
4619 PyObject
*swig_obj
[1] ;
4623 if (!args
) SWIG_fail
;
4625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4626 if (!SWIG_IsOK(res1
)) {
4627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4629 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 resultobj
= SWIG_Py_Void();
4637 if (SWIG_IsTmpObj(res2
)) {
4638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4640 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4643 if (SWIG_IsTmpObj(res3
)) {
4644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4646 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4655 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
= 0;
4657 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4669 char * kwnames
[] = {
4670 (char *) "self",(char *) "xs",(char *) "ys", NULL
4673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4675 if (!SWIG_IsOK(res1
)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4678 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4679 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4680 if (!SWIG_IsOK(ecode2
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4683 arg2
= static_cast< double >(val2
);
4684 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4685 if (!SWIG_IsOK(ecode3
)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4688 arg3
= static_cast< double >(val3
);
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 (arg1
)->SetScale(arg2
,arg3
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_Py_Void();
4702 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4703 PyObject
*resultobj
= 0;
4704 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4708 PyObject
*swig_obj
[1] ;
4710 if (!args
) SWIG_fail
;
4712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4713 if (!SWIG_IsOK(res1
)) {
4714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4716 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_From_double(static_cast< double >(result
));
4730 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4731 PyObject
*resultobj
= 0;
4732 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4736 PyObject
*swig_obj
[1] ;
4738 if (!args
) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4744 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_From_double(static_cast< double >(result
));
4758 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4759 PyObject
*resultobj
= 0;
4760 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4767 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4769 if (!SWIG_IsOK(res1
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4772 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4775 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4790 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4791 PyObject
*resultobj
= 0;
4792 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4795 int *arg4
= (int *) 0 ;
4796 int *arg5
= (int *) 0 ;
4804 int res4
= SWIG_TMPOBJ
;
4806 int res5
= SWIG_TMPOBJ
;
4810 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4815 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4816 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4817 if (!SWIG_IsOK(ecode2
)) {
4818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4820 arg2
= static_cast< int >(val2
);
4821 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4822 if (!SWIG_IsOK(ecode3
)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4825 arg3
= static_cast< int >(val3
);
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_Py_Void();
4833 if (SWIG_IsTmpObj(res4
)) {
4834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4836 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4839 if (SWIG_IsTmpObj(res5
)) {
4840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4842 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4851 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4855 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4858 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4861 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4865 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4870 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4871 PyObject
*resultobj
= 0;
4872 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4879 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4881 if (!SWIG_IsOK(res1
)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4884 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4887 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4902 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4903 PyObject
*resultobj
= 0;
4904 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4907 int *arg4
= (int *) 0 ;
4908 int *arg5
= (int *) 0 ;
4916 int res4
= SWIG_TMPOBJ
;
4918 int res5
= SWIG_TMPOBJ
;
4922 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4924 if (!SWIG_IsOK(res1
)) {
4925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4927 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4928 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4929 if (!SWIG_IsOK(ecode2
)) {
4930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4932 arg2
= static_cast< int >(val2
);
4933 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4934 if (!SWIG_IsOK(ecode3
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4937 arg3
= static_cast< int >(val3
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_Py_Void();
4945 if (SWIG_IsTmpObj(res4
)) {
4946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4948 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4951 if (SWIG_IsTmpObj(res5
)) {
4952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4954 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4963 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4967 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4970 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4973 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4977 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4982 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4983 PyObject
*resultobj
= 0;
4984 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4987 PyObject
*swig_obj
[1] ;
4989 if (!args
) SWIG_fail
;
4991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4992 if (!SWIG_IsOK(res1
)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4995 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 (arg1
)->AdjustScrollbars();
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= SWIG_Py_Void();
5009 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
= 0;
5011 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5012 wxScrollWinEvent
*arg2
= 0 ;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5020 char * kwnames
[] = {
5021 (char *) "self",(char *) "event", NULL
5024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5026 if (!SWIG_IsOK(res1
)) {
5027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5029 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5030 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5031 if (!SWIG_IsOK(res2
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5037 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_From_int(static_cast< int >(result
));
5051 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
= 0;
5053 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5054 wxWindow
*arg2
= (wxWindow
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 char * kwnames
[] = {
5062 (char *) "self",(char *) "target", NULL
5065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5067 if (!SWIG_IsOK(res1
)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5070 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5072 if (!SWIG_IsOK(res2
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5075 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetTargetWindow(arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_Py_Void();
5089 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5090 PyObject
*resultobj
= 0;
5091 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5092 wxWindow
*result
= 0 ;
5095 PyObject
*swig_obj
[1] ;
5097 if (!args
) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5103 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= wxPyMake_wxObject(result
, 0);
5119 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
= 0;
5121 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5128 char * kwnames
[] = {
5129 (char *) "self",(char *) "rect", NULL
5132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5137 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5140 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= SWIG_Py_Void();
5155 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5156 PyObject
*resultobj
= 0;
5157 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5161 PyObject
*swig_obj
[1] ;
5163 if (!args
) SWIG_fail
;
5165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5166 if (!SWIG_IsOK(res1
)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5169 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5183 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
= 0;
5185 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5193 char * kwnames
[] = {
5194 (char *) "self",(char *) "dc", NULL
5197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5199 if (!SWIG_IsOK(res1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5202 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5204 if (!SWIG_IsOK(res2
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5210 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 (arg1
)->DoPrepareDC(*arg2
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_Py_Void();
5224 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
= 0;
5226 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5227 SwigValueWrapper
<wxVisualAttributes
> result
;
5230 PyObject
* obj0
= 0 ;
5231 char * kwnames
[] = {
5232 (char *) "variant", NULL
5235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5238 if (!SWIG_IsOK(ecode1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5241 arg1
= static_cast< wxWindowVariant
>(val1
);
5244 if (!wxPyCheckForApp()) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5257 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5260 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5261 return SWIG_Py_Void();
5264 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5265 return SWIG_Python_InitShadowInstance(args
);
5268 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5269 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5274 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5275 PyObject
*pyobj
= 0;
5279 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5281 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5288 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5289 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5294 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5295 PyObject
*pyobj
= 0;
5299 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5301 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5308 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5309 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5314 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5315 PyObject
*pyobj
= 0;
5319 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5321 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5328 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5329 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5334 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5335 PyObject
*pyobj
= 0;
5339 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5341 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5348 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= 0;
5350 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5351 bool arg2
= (bool) true ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 char * kwnames
[] = {
5359 (char *) "self",(char *) "maximize", NULL
5362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5367 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5369 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5370 if (!SWIG_IsOK(ecode2
)) {
5371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5373 arg2
= static_cast< bool >(val2
);
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 (arg1
)->Maximize(arg2
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_Py_Void();
5388 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5389 PyObject
*resultobj
= 0;
5390 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5393 PyObject
*swig_obj
[1] ;
5395 if (!args
) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5401 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_Py_Void();
5415 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
= 0;
5417 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5418 bool arg2
= (bool) true ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "self",(char *) "iconize", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5431 if (!SWIG_IsOK(res1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5434 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5436 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5437 if (!SWIG_IsOK(ecode2
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5440 arg2
= static_cast< bool >(val2
);
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 (arg1
)->Iconize(arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_Py_Void();
5455 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5456 PyObject
*resultobj
= 0;
5457 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5461 PyObject
*swig_obj
[1] ;
5463 if (!args
) SWIG_fail
;
5465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5466 if (!SWIG_IsOK(res1
)) {
5467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5469 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5485 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5486 PyObject
*resultobj
= 0;
5487 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5491 PyObject
*swig_obj
[1] ;
5493 if (!args
) SWIG_fail
;
5495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5496 if (!SWIG_IsOK(res1
)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5499 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5515 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5516 PyObject
*resultobj
= 0;
5517 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5521 PyObject
*swig_obj
[1] ;
5523 if (!args
) SWIG_fail
;
5525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5526 if (!SWIG_IsOK(res1
)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5529 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5545 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5546 PyObject
*resultobj
= 0;
5547 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5551 PyObject
*swig_obj
[1] ;
5553 if (!args
) SWIG_fail
;
5555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5556 if (!SWIG_IsOK(res1
)) {
5557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5559 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5573 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
= 0;
5575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 char * kwnames
[] = {
5584 (char *) "self",(char *) "icon", NULL
5587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5589 if (!SWIG_IsOK(res1
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5592 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5594 if (!SWIG_IsOK(res2
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5600 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_Py_Void();
5614 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
= 0;
5616 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5617 wxIconBundle
*arg2
= 0 ;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5624 char * kwnames
[] = {
5625 (char *) "self",(char *) "icons", NULL
5628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5630 if (!SWIG_IsOK(res1
)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5633 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5635 if (!SWIG_IsOK(res2
)) {
5636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5641 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_Py_Void();
5655 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
= 0;
5657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5659 long arg3
= (long) wxFULLSCREEN_ALL
;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5669 PyObject
* obj2
= 0 ;
5670 char * kwnames
[] = {
5671 (char *) "self",(char *) "show",(char *) "style", NULL
5674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5676 if (!SWIG_IsOK(res1
)) {
5677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5679 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5681 if (!SWIG_IsOK(ecode2
)) {
5682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5684 arg2
= static_cast< bool >(val2
);
5686 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5687 if (!SWIG_IsOK(ecode3
)) {
5688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5690 arg3
= static_cast< long >(val3
);
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5707 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 PyObject
*resultobj
= 0;
5709 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5721 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5737 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
= 0;
5739 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5740 wxString
*arg2
= 0 ;
5743 bool temp2
= false ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 char * kwnames
[] = {
5747 (char *) "self",(char *) "title", NULL
5750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5752 if (!SWIG_IsOK(res1
)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5755 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5757 arg2
= wxString_in_helper(obj1
);
5758 if (arg2
== NULL
) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 (arg1
)->SetTitle((wxString
const &)*arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_Py_Void();
5782 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5783 PyObject
*resultobj
= 0;
5784 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5788 PyObject
*swig_obj
[1] ;
5790 if (!args
) SWIG_fail
;
5792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5793 if (!SWIG_IsOK(res1
)) {
5794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5796 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5816 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
= 0;
5818 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5819 wxRegion
*arg2
= 0 ;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5827 char * kwnames
[] = {
5828 (char *) "self",(char *) "region", NULL
5831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5833 if (!SWIG_IsOK(res1
)) {
5834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5836 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5838 if (!SWIG_IsOK(res2
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5844 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5860 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5863 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "self",(char *) "flags", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5879 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5882 if (!SWIG_IsOK(ecode2
)) {
5883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5885 arg2
= static_cast< int >(val2
);
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 (arg1
)->RequestUserAttention(arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5906 PyObject
*swig_obj
[1] ;
5908 if (!args
) SWIG_fail
;
5910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5911 if (!SWIG_IsOK(res1
)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5914 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (bool)(arg1
)->IsActive();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5930 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
= 0;
5932 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5940 char * kwnames
[] = {
5941 (char *) "self",(char *) "on", NULL
5944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5949 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5951 if (!SWIG_IsOK(ecode2
)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5954 arg2
= static_cast< bool >(val2
);
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_Py_Void();
5968 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5969 PyObject
*resultobj
= 0;
5970 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5974 PyObject
*swig_obj
[1] ;
5976 if (!args
) SWIG_fail
;
5978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5979 if (!SWIG_IsOK(res1
)) {
5980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5982 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5998 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
= 0;
6000 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6001 int arg2
= (int) wxBOTH
;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 char * kwnames
[] = {
6009 (char *) "self",(char *) "dir", NULL
6012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6014 if (!SWIG_IsOK(res1
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6017 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6020 if (!SWIG_IsOK(ecode2
)) {
6021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6023 arg2
= static_cast< int >(val2
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 (arg1
)->CenterOnScreen(arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_Py_Void();
6038 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6041 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6042 return SWIG_Py_Void();
6045 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
= 0;
6047 wxWindow
*arg1
= (wxWindow
*) 0 ;
6048 int arg2
= (int) (int)-1 ;
6049 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6051 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6052 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6053 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6054 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6055 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6056 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6058 wxFrame
*result
= 0 ;
6063 bool temp3
= false ;
6068 bool temp7
= false ;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6071 PyObject
* obj2
= 0 ;
6072 PyObject
* obj3
= 0 ;
6073 PyObject
* obj4
= 0 ;
6074 PyObject
* obj5
= 0 ;
6075 PyObject
* obj6
= 0 ;
6076 char * kwnames
[] = {
6077 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6088 if (!SWIG_IsOK(ecode2
)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6091 arg2
= static_cast< int >(val2
);
6095 arg3
= wxString_in_helper(obj2
);
6096 if (arg3
== NULL
) SWIG_fail
;
6103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6113 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6114 if (!SWIG_IsOK(ecode6
)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6117 arg6
= static_cast< long >(val6
);
6121 arg7
= wxString_in_helper(obj6
);
6122 if (arg7
== NULL
) SWIG_fail
;
6127 if (!wxPyCheckForApp()) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6156 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6157 PyObject
*resultobj
= 0;
6158 wxFrame
*result
= 0 ;
6160 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6162 if (!wxPyCheckForApp()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= (wxFrame
*)new wxFrame();
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6175 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
= 0;
6177 wxFrame
*arg1
= (wxFrame
*) 0 ;
6178 wxWindow
*arg2
= (wxWindow
*) 0 ;
6179 int arg3
= (int) (int)-1 ;
6180 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6181 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6182 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6183 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6184 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6185 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6186 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6187 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6188 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6196 bool temp4
= false ;
6201 bool temp8
= false ;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6204 PyObject
* obj2
= 0 ;
6205 PyObject
* obj3
= 0 ;
6206 PyObject
* obj4
= 0 ;
6207 PyObject
* obj5
= 0 ;
6208 PyObject
* obj6
= 0 ;
6209 PyObject
* obj7
= 0 ;
6210 char * kwnames
[] = {
6211 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6216 if (!SWIG_IsOK(res1
)) {
6217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6219 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6221 if (!SWIG_IsOK(res2
)) {
6222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6224 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6227 if (!SWIG_IsOK(ecode3
)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6230 arg3
= static_cast< int >(val3
);
6234 arg4
= wxString_in_helper(obj3
);
6235 if (arg4
== NULL
) SWIG_fail
;
6242 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6248 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6252 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6253 if (!SWIG_IsOK(ecode7
)) {
6254 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6256 arg7
= static_cast< long >(val7
);
6260 arg8
= wxString_in_helper(obj7
);
6261 if (arg8
== NULL
) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6296 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6297 PyObject
*resultobj
= 0;
6298 wxFrame
*arg1
= (wxFrame
*) 0 ;
6301 PyObject
*swig_obj
[1] ;
6303 if (!args
) SWIG_fail
;
6305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6306 if (!SWIG_IsOK(res1
)) {
6307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6309 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 (arg1
)->SendSizeEvent();
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_Py_Void();
6323 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
= 0;
6325 wxFrame
*arg1
= (wxFrame
*) 0 ;
6326 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6333 char * kwnames
[] = {
6334 (char *) "self",(char *) "menubar", NULL
6337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6339 if (!SWIG_IsOK(res1
)) {
6340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6342 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6344 if (!SWIG_IsOK(res2
)) {
6345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6347 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 (arg1
)->SetMenuBar(arg2
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_Py_Void();
6361 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6362 PyObject
*resultobj
= 0;
6363 wxFrame
*arg1
= (wxFrame
*) 0 ;
6364 wxMenuBar
*result
= 0 ;
6367 PyObject
*swig_obj
[1] ;
6369 if (!args
) SWIG_fail
;
6371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6372 if (!SWIG_IsOK(res1
)) {
6373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6375 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= wxPyMake_wxObject(result
, 0);
6391 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
= 0;
6393 wxFrame
*arg1
= (wxFrame
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6401 PyObject
* obj1
= 0 ;
6402 char * kwnames
[] = {
6403 (char *) "self",(char *) "winid", NULL
6406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6408 if (!SWIG_IsOK(res1
)) {
6409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6411 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6413 if (!SWIG_IsOK(ecode2
)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6416 arg2
= static_cast< int >(val2
);
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6432 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
= 0;
6434 wxFrame
*arg1
= (wxFrame
*) 0 ;
6435 int arg2
= (int) 1 ;
6436 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6437 int arg4
= (int) 0 ;
6438 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6439 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6440 wxStatusBar
*result
= 0 ;
6449 bool temp5
= false ;
6450 PyObject
* obj0
= 0 ;
6451 PyObject
* obj1
= 0 ;
6452 PyObject
* obj2
= 0 ;
6453 PyObject
* obj3
= 0 ;
6454 PyObject
* obj4
= 0 ;
6455 char * kwnames
[] = {
6456 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6461 if (!SWIG_IsOK(res1
)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6464 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6467 if (!SWIG_IsOK(ecode2
)) {
6468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6470 arg2
= static_cast< int >(val2
);
6473 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6474 if (!SWIG_IsOK(ecode3
)) {
6475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6477 arg3
= static_cast< long >(val3
);
6480 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6481 if (!SWIG_IsOK(ecode4
)) {
6482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6484 arg4
= static_cast< int >(val4
);
6488 arg5
= wxString_in_helper(obj4
);
6489 if (arg5
== NULL
) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6516 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6517 PyObject
*resultobj
= 0;
6518 wxFrame
*arg1
= (wxFrame
*) 0 ;
6519 wxStatusBar
*result
= 0 ;
6522 PyObject
*swig_obj
[1] ;
6524 if (!args
) SWIG_fail
;
6526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6527 if (!SWIG_IsOK(res1
)) {
6528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6530 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6546 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
= 0;
6548 wxFrame
*arg1
= (wxFrame
*) 0 ;
6549 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6555 PyObject
* obj1
= 0 ;
6556 char * kwnames
[] = {
6557 (char *) "self",(char *) "statBar", NULL
6560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6562 if (!SWIG_IsOK(res1
)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6565 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6567 if (!SWIG_IsOK(res2
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6570 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SetStatusBar(arg2
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_Py_Void();
6584 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
= 0;
6586 wxFrame
*arg1
= (wxFrame
*) 0 ;
6587 wxString
*arg2
= 0 ;
6588 int arg3
= (int) 0 ;
6591 bool temp2
= false ;
6594 PyObject
* obj0
= 0 ;
6595 PyObject
* obj1
= 0 ;
6596 PyObject
* obj2
= 0 ;
6597 char * kwnames
[] = {
6598 (char *) "self",(char *) "text",(char *) "number", NULL
6601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6603 if (!SWIG_IsOK(res1
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6606 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6608 arg2
= wxString_in_helper(obj1
);
6609 if (arg2
== NULL
) SWIG_fail
;
6613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6614 if (!SWIG_IsOK(ecode3
)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6617 arg3
= static_cast< int >(val3
);
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_Py_Void();
6640 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
= 0;
6642 wxFrame
*arg1
= (wxFrame
*) 0 ;
6644 int *arg3
= (int *) 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6649 char * kwnames
[] = {
6650 (char *) "self",(char *) "widths", NULL
6653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6658 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6660 arg2
= PyList_Size(obj1
);
6661 arg3
= int_LIST_helper(obj1
);
6662 if (arg3
== NULL
) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_Py_Void();
6672 if (arg3
) delete [] arg3
;
6677 if (arg3
) delete [] arg3
;
6683 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
= 0;
6685 wxFrame
*arg1
= (wxFrame
*) 0 ;
6686 wxString
*arg2
= 0 ;
6687 int arg3
= (int) 0 ;
6690 bool temp2
= false ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6695 PyObject
* obj2
= 0 ;
6696 char * kwnames
[] = {
6697 (char *) "self",(char *) "text",(char *) "number", NULL
6700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6702 if (!SWIG_IsOK(res1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6705 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6707 arg2
= wxString_in_helper(obj1
);
6708 if (arg2
== NULL
) SWIG_fail
;
6712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6713 if (!SWIG_IsOK(ecode3
)) {
6714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6716 arg3
= static_cast< int >(val3
);
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= SWIG_Py_Void();
6739 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
= 0;
6741 wxFrame
*arg1
= (wxFrame
*) 0 ;
6742 int arg2
= (int) 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6749 char * kwnames
[] = {
6750 (char *) "self",(char *) "number", NULL
6753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6755 if (!SWIG_IsOK(res1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6758 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6761 if (!SWIG_IsOK(ecode2
)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6764 arg2
= static_cast< int >(val2
);
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 (arg1
)->PopStatusText(arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_Py_Void();
6779 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxFrame
*arg1
= (wxFrame
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 char * kwnames
[] = {
6790 (char *) "self",(char *) "n", NULL
6793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6798 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 (arg1
)->SetStatusBarPane(arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_Py_Void();
6817 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6818 PyObject
*resultobj
= 0;
6819 wxFrame
*arg1
= (wxFrame
*) 0 ;
6823 PyObject
*swig_obj
[1] ;
6825 if (!args
) SWIG_fail
;
6827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6828 if (!SWIG_IsOK(res1
)) {
6829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6831 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_From_int(static_cast< int >(result
));
6845 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
= 0;
6847 wxFrame
*arg1
= (wxFrame
*) 0 ;
6848 long arg2
= (long) -1 ;
6849 int arg3
= (int) -1 ;
6850 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6851 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6852 wxToolBar
*result
= 0 ;
6859 bool temp4
= false ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 PyObject
* obj2
= 0 ;
6863 PyObject
* obj3
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6873 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6876 if (!SWIG_IsOK(ecode2
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6879 arg2
= static_cast< long >(val2
);
6882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6883 if (!SWIG_IsOK(ecode3
)) {
6884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6886 arg3
= static_cast< int >(val3
);
6890 arg4
= wxString_in_helper(obj3
);
6891 if (arg4
== NULL
) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6918 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6919 PyObject
*resultobj
= 0;
6920 wxFrame
*arg1
= (wxFrame
*) 0 ;
6921 wxToolBar
*result
= 0 ;
6924 PyObject
*swig_obj
[1] ;
6926 if (!args
) SWIG_fail
;
6928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6929 if (!SWIG_IsOK(res1
)) {
6930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6932 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6948 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
= 0;
6950 wxFrame
*arg1
= (wxFrame
*) 0 ;
6951 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6958 char * kwnames
[] = {
6959 (char *) "self",(char *) "toolbar", NULL
6962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6964 if (!SWIG_IsOK(res1
)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6967 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6969 if (!SWIG_IsOK(res2
)) {
6970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6972 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 (arg1
)->SetToolBar(arg2
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_Py_Void();
6986 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
= 0;
6988 wxFrame
*arg1
= (wxFrame
*) 0 ;
6989 wxString
*arg2
= 0 ;
6993 bool temp2
= false ;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6998 PyObject
* obj2
= 0 ;
6999 char * kwnames
[] = {
7000 (char *) "self",(char *) "text",(char *) "show", NULL
7003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7008 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7010 arg2
= wxString_in_helper(obj1
);
7011 if (arg2
== NULL
) SWIG_fail
;
7014 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7015 if (!SWIG_IsOK(ecode3
)) {
7016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7018 arg3
= static_cast< bool >(val3
);
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_Py_Void();
7040 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
= 0;
7042 wxFrame
*arg1
= (wxFrame
*) 0 ;
7043 wxMenu
*arg2
= (wxMenu
*) NULL
;
7048 PyObject
* obj0
= 0 ;
7049 PyObject
* obj1
= 0 ;
7050 char * kwnames
[] = {
7051 (char *) "self",(char *) "menu", NULL
7054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7056 if (!SWIG_IsOK(res1
)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7059 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7062 if (!SWIG_IsOK(res2
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7065 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 (arg1
)->DoMenuUpdates(arg2
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_Py_Void();
7080 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
= 0;
7082 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7083 SwigValueWrapper
<wxVisualAttributes
> result
;
7086 PyObject
* obj0
= 0 ;
7087 char * kwnames
[] = {
7088 (char *) "variant", NULL
7091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7094 if (!SWIG_IsOK(ecode1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7097 arg1
= static_cast< wxWindowVariant
>(val1
);
7100 if (!wxPyCheckForApp()) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7113 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7116 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7117 return SWIG_Py_Void();
7120 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7121 return SWIG_Python_InitShadowInstance(args
);
7124 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
= 0;
7126 wxWindow
*arg1
= (wxWindow
*) 0 ;
7127 int arg2
= (int) (int)-1 ;
7128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7134 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7135 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7136 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7137 wxDialog
*result
= 0 ;
7142 bool temp3
= false ;
7147 bool temp7
= false ;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7150 PyObject
* obj2
= 0 ;
7151 PyObject
* obj3
= 0 ;
7152 PyObject
* obj4
= 0 ;
7153 PyObject
* obj5
= 0 ;
7154 PyObject
* obj6
= 0 ;
7155 char * kwnames
[] = {
7156 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7167 if (!SWIG_IsOK(ecode2
)) {
7168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7170 arg2
= static_cast< int >(val2
);
7174 arg3
= wxString_in_helper(obj2
);
7175 if (arg3
== NULL
) SWIG_fail
;
7182 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7188 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7192 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7193 if (!SWIG_IsOK(ecode6
)) {
7194 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7196 arg6
= static_cast< long >(val6
);
7200 arg7
= wxString_in_helper(obj6
);
7201 if (arg7
== NULL
) SWIG_fail
;
7206 if (!wxPyCheckForApp()) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7235 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7236 PyObject
*resultobj
= 0;
7237 wxDialog
*result
= 0 ;
7239 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7241 if (!wxPyCheckForApp()) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (wxDialog
*)new wxDialog();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7254 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
= 0;
7256 wxDialog
*arg1
= (wxDialog
*) 0 ;
7257 wxWindow
*arg2
= (wxWindow
*) 0 ;
7258 int arg3
= (int) (int)-1 ;
7259 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7260 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7261 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7262 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7263 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7264 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7265 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7266 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7267 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7275 bool temp4
= false ;
7280 bool temp8
= false ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7283 PyObject
* obj2
= 0 ;
7284 PyObject
* obj3
= 0 ;
7285 PyObject
* obj4
= 0 ;
7286 PyObject
* obj5
= 0 ;
7287 PyObject
* obj6
= 0 ;
7288 PyObject
* obj7
= 0 ;
7289 char * kwnames
[] = {
7290 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7295 if (!SWIG_IsOK(res1
)) {
7296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7298 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7300 if (!SWIG_IsOK(res2
)) {
7301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7303 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7306 if (!SWIG_IsOK(ecode3
)) {
7307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7309 arg3
= static_cast< int >(val3
);
7313 arg4
= wxString_in_helper(obj3
);
7314 if (arg4
== NULL
) SWIG_fail
;
7321 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7327 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7331 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7332 if (!SWIG_IsOK(ecode7
)) {
7333 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7335 arg7
= static_cast< long >(val7
);
7339 arg8
= wxString_in_helper(obj7
);
7340 if (arg8
== NULL
) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7375 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
= 0;
7377 wxDialog
*arg1
= (wxDialog
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7385 char * kwnames
[] = {
7386 (char *) "self",(char *) "returnCode", NULL
7389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7391 if (!SWIG_IsOK(res1
)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7394 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7396 if (!SWIG_IsOK(ecode2
)) {
7397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7399 arg2
= static_cast< int >(val2
);
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 (arg1
)->SetReturnCode(arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= SWIG_Py_Void();
7413 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7414 PyObject
*resultobj
= 0;
7415 wxDialog
*arg1
= (wxDialog
*) 0 ;
7419 PyObject
*swig_obj
[1] ;
7421 if (!args
) SWIG_fail
;
7423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7424 if (!SWIG_IsOK(res1
)) {
7425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7427 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_From_int(static_cast< int >(result
));
7441 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= 0;
7443 wxDialog
*arg1
= (wxDialog
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "affirmativeId", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7460 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7462 if (!SWIG_IsOK(ecode2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7465 arg2
= static_cast< int >(val2
);
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 (arg1
)->SetAffirmativeId(arg2
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_Py_Void();
7479 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7480 PyObject
*resultobj
= 0;
7481 wxDialog
*arg1
= (wxDialog
*) 0 ;
7485 PyObject
*swig_obj
[1] ;
7487 if (!args
) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7493 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_From_int(static_cast< int >(result
));
7507 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
= 0;
7509 wxDialog
*arg1
= (wxDialog
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7517 char * kwnames
[] = {
7518 (char *) "self",(char *) "escapeId", NULL
7521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7523 if (!SWIG_IsOK(res1
)) {
7524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7526 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7528 if (!SWIG_IsOK(ecode2
)) {
7529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7531 arg2
= static_cast< int >(val2
);
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 (arg1
)->SetEscapeId(arg2
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_Py_Void();
7545 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7546 PyObject
*resultobj
= 0;
7547 wxDialog
*arg1
= (wxDialog
*) 0 ;
7551 PyObject
*swig_obj
[1] ;
7553 if (!args
) SWIG_fail
;
7555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7556 if (!SWIG_IsOK(res1
)) {
7557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7559 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= SWIG_From_int(static_cast< int >(result
));
7573 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
= 0;
7575 wxDialog
*arg1
= (wxDialog
*) 0 ;
7576 wxString
*arg2
= 0 ;
7577 wxSizer
*result
= 0 ;
7580 bool temp2
= false ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 char * kwnames
[] = {
7584 (char *) "self",(char *) "message", NULL
7587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7589 if (!SWIG_IsOK(res1
)) {
7590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7592 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7594 arg2
= wxString_in_helper(obj1
);
7595 if (arg2
== NULL
) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7621 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= 0;
7623 wxDialog
*arg1
= (wxDialog
*) 0 ;
7625 bool arg3
= (bool) false ;
7626 int arg4
= (int) 0 ;
7627 wxSizer
*result
= 0 ;
7636 PyObject
* obj0
= 0 ;
7637 PyObject
* obj1
= 0 ;
7638 PyObject
* obj2
= 0 ;
7639 PyObject
* obj3
= 0 ;
7640 char * kwnames
[] = {
7641 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7649 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7650 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7651 if (!SWIG_IsOK(ecode2
)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7654 arg2
= static_cast< long >(val2
);
7656 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7657 if (!SWIG_IsOK(ecode3
)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7660 arg3
= static_cast< bool >(val3
);
7663 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7664 if (!SWIG_IsOK(ecode4
)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7667 arg4
= static_cast< int >(val4
);
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7684 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= 0;
7686 wxDialog
*arg1
= (wxDialog
*) 0 ;
7688 wxStdDialogButtonSizer
*result
= 0 ;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7695 char * kwnames
[] = {
7696 (char *) "self",(char *) "flags", NULL
7699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7704 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7705 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7706 if (!SWIG_IsOK(ecode2
)) {
7707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7709 arg2
= static_cast< long >(val2
);
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7723 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7724 PyObject
*resultobj
= 0;
7725 wxDialog
*arg1
= (wxDialog
*) 0 ;
7729 PyObject
*swig_obj
[1] ;
7731 if (!args
) SWIG_fail
;
7733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7734 if (!SWIG_IsOK(res1
)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7737 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7753 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7754 PyObject
*resultobj
= 0;
7755 wxDialog
*arg1
= (wxDialog
*) 0 ;
7759 PyObject
*swig_obj
[1] ;
7761 if (!args
) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7767 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (int)(arg1
)->ShowModal();
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_From_int(static_cast< int >(result
));
7781 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
= 0;
7783 wxDialog
*arg1
= (wxDialog
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7791 char * kwnames
[] = {
7792 (char *) "self",(char *) "retCode", NULL
7795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7797 if (!SWIG_IsOK(res1
)) {
7798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7800 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7802 if (!SWIG_IsOK(ecode2
)) {
7803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7805 arg2
= static_cast< int >(val2
);
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 (arg1
)->EndModal(arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_Py_Void();
7819 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
= 0;
7821 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7822 SwigValueWrapper
<wxVisualAttributes
> result
;
7825 PyObject
* obj0
= 0 ;
7826 char * kwnames
[] = {
7827 (char *) "variant", NULL
7830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7833 if (!SWIG_IsOK(ecode1
)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7836 arg1
= static_cast< wxWindowVariant
>(val1
);
7839 if (!wxPyCheckForApp()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7852 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7855 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7856 return SWIG_Py_Void();
7859 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7860 return SWIG_Python_InitShadowInstance(args
);
7863 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
= 0;
7865 wxWindow
*arg1
= (wxWindow
*) 0 ;
7866 int arg2
= (int) (int)-1 ;
7867 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7868 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7873 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7874 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7876 wxMiniFrame
*result
= 0 ;
7881 bool temp3
= false ;
7886 bool temp7
= false ;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7889 PyObject
* obj2
= 0 ;
7890 PyObject
* obj3
= 0 ;
7891 PyObject
* obj4
= 0 ;
7892 PyObject
* obj5
= 0 ;
7893 PyObject
* obj6
= 0 ;
7894 char * kwnames
[] = {
7895 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7900 if (!SWIG_IsOK(res1
)) {
7901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7906 if (!SWIG_IsOK(ecode2
)) {
7907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7909 arg2
= static_cast< int >(val2
);
7913 arg3
= wxString_in_helper(obj2
);
7914 if (arg3
== NULL
) SWIG_fail
;
7921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7931 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7932 if (!SWIG_IsOK(ecode6
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7935 arg6
= static_cast< long >(val6
);
7939 arg7
= wxString_in_helper(obj6
);
7940 if (arg7
== NULL
) SWIG_fail
;
7945 if (!wxPyCheckForApp()) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7974 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7975 PyObject
*resultobj
= 0;
7976 wxMiniFrame
*result
= 0 ;
7978 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7980 if (!wxPyCheckForApp()) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (wxMiniFrame
*)new wxMiniFrame();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7993 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
= 0;
7995 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7996 wxWindow
*arg2
= (wxWindow
*) 0 ;
7997 int arg3
= (int) (int)-1 ;
7998 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7999 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8000 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8001 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8002 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8003 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8004 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8005 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8006 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8014 bool temp4
= false ;
8019 bool temp8
= false ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8022 PyObject
* obj2
= 0 ;
8023 PyObject
* obj3
= 0 ;
8024 PyObject
* obj4
= 0 ;
8025 PyObject
* obj5
= 0 ;
8026 PyObject
* obj6
= 0 ;
8027 PyObject
* obj7
= 0 ;
8028 char * kwnames
[] = {
8029 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8034 if (!SWIG_IsOK(res1
)) {
8035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8037 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8039 if (!SWIG_IsOK(res2
)) {
8040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8042 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8045 if (!SWIG_IsOK(ecode3
)) {
8046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8048 arg3
= static_cast< int >(val3
);
8052 arg4
= wxString_in_helper(obj3
);
8053 if (arg4
== NULL
) SWIG_fail
;
8060 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8066 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8070 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8071 if (!SWIG_IsOK(ecode7
)) {
8072 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8074 arg7
= static_cast< long >(val7
);
8078 arg8
= wxString_in_helper(obj7
);
8079 if (arg8
== NULL
) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8114 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8117 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8118 return SWIG_Py_Void();
8121 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8122 return SWIG_Python_InitShadowInstance(args
);
8125 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
= 0;
8127 wxBitmap
*arg1
= 0 ;
8128 wxWindow
*arg2
= (wxWindow
*) 0 ;
8130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8134 long arg6
= (long) wxNO_BORDER
;
8135 wxSplashScreenWindow
*result
= 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8149 PyObject
* obj3
= 0 ;
8150 PyObject
* obj4
= 0 ;
8151 PyObject
* obj5
= 0 ;
8152 char * kwnames
[] = {
8153 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8157 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8158 if (!SWIG_IsOK(res1
)) {
8159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8164 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8166 if (!SWIG_IsOK(res2
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8171 if (!SWIG_IsOK(ecode3
)) {
8172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8174 arg3
= static_cast< int >(val3
);
8178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8188 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8189 if (!SWIG_IsOK(ecode6
)) {
8190 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8192 arg6
= static_cast< long >(val6
);
8195 if (!wxPyCheckForApp()) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8208 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
= 0;
8210 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8211 wxBitmap
*arg2
= 0 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 char * kwnames
[] = {
8219 (char *) "self",(char *) "bitmap", NULL
8222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8224 if (!SWIG_IsOK(res1
)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8227 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8229 if (!SWIG_IsOK(res2
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8235 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= SWIG_Py_Void();
8249 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8250 PyObject
*resultobj
= 0;
8251 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8252 wxBitmap
*result
= 0 ;
8255 PyObject
*swig_obj
[1] ;
8257 if (!args
) SWIG_fail
;
8259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8260 if (!SWIG_IsOK(res1
)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8263 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8268 result
= (wxBitmap
*) &_result_ref
;
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 wxBitmap
* resultptr
= new wxBitmap(*result
);
8275 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8283 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8286 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8287 return SWIG_Py_Void();
8290 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8291 return SWIG_Python_InitShadowInstance(args
);
8294 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
= 0;
8296 wxBitmap
*arg1
= 0 ;
8299 wxWindow
*arg4
= (wxWindow
*) 0 ;
8300 int arg5
= (int) -1 ;
8301 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8302 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8303 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8304 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8305 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8306 wxSplashScreen
*result
= 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8323 PyObject
* obj2
= 0 ;
8324 PyObject
* obj3
= 0 ;
8325 PyObject
* obj4
= 0 ;
8326 PyObject
* obj5
= 0 ;
8327 PyObject
* obj6
= 0 ;
8328 PyObject
* obj7
= 0 ;
8329 char * kwnames
[] = {
8330 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8334 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8335 if (!SWIG_IsOK(res1
)) {
8336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8341 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8342 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8343 if (!SWIG_IsOK(ecode2
)) {
8344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8346 arg2
= static_cast< long >(val2
);
8347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8348 if (!SWIG_IsOK(ecode3
)) {
8349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8351 arg3
= static_cast< int >(val3
);
8352 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8353 if (!SWIG_IsOK(res4
)) {
8354 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8356 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8358 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8359 if (!SWIG_IsOK(ecode5
)) {
8360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8362 arg5
= static_cast< int >(val5
);
8367 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8373 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8377 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8378 if (!SWIG_IsOK(ecode8
)) {
8379 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8381 arg8
= static_cast< long >(val8
);
8384 if (!wxPyCheckForApp()) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8397 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8398 PyObject
*resultobj
= 0;
8399 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8403 PyObject
*swig_obj
[1] ;
8405 if (!args
) SWIG_fail
;
8407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8408 if (!SWIG_IsOK(res1
)) {
8409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8411 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_From_long(static_cast< long >(result
));
8425 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 PyObject
*resultobj
= 0;
8427 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8428 wxSplashScreenWindow
*result
= 0 ;
8431 PyObject
*swig_obj
[1] ;
8433 if (!args
) SWIG_fail
;
8435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8436 if (!SWIG_IsOK(res1
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8439 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8453 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8454 PyObject
*resultobj
= 0;
8455 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8459 PyObject
*swig_obj
[1] ;
8461 if (!args
) SWIG_fail
;
8463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8464 if (!SWIG_IsOK(res1
)) {
8465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8467 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_From_int(static_cast< int >(result
));
8481 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8484 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8485 return SWIG_Py_Void();
8488 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8489 return SWIG_Python_InitShadowInstance(args
);
8492 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
= 0;
8494 wxWindow
*arg1
= (wxWindow
*) 0 ;
8495 int arg2
= (int) -1 ;
8496 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8497 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8498 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8499 wxStatusBar
*result
= 0 ;
8506 bool temp4
= false ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8509 PyObject
* obj2
= 0 ;
8510 PyObject
* obj3
= 0 ;
8511 char * kwnames
[] = {
8512 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8517 if (!SWIG_IsOK(res1
)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8523 if (!SWIG_IsOK(ecode2
)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8526 arg2
= static_cast< int >(val2
);
8529 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8530 if (!SWIG_IsOK(ecode3
)) {
8531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8533 arg3
= static_cast< long >(val3
);
8537 arg4
= wxString_in_helper(obj3
);
8538 if (arg4
== NULL
) SWIG_fail
;
8543 if (!wxPyCheckForApp()) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8564 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8565 PyObject
*resultobj
= 0;
8566 wxStatusBar
*result
= 0 ;
8568 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8570 if (!wxPyCheckForApp()) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (wxStatusBar
*)new wxStatusBar();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8583 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
= 0;
8585 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8586 wxWindow
*arg2
= (wxWindow
*) 0 ;
8587 int arg3
= (int) -1 ;
8588 long arg4
= (long) wxST_SIZEGRIP
;
8589 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8590 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8600 bool temp5
= false ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 PyObject
* obj2
= 0 ;
8604 PyObject
* obj3
= 0 ;
8605 PyObject
* obj4
= 0 ;
8606 char * kwnames
[] = {
8607 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8615 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8617 if (!SWIG_IsOK(res2
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8620 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8623 if (!SWIG_IsOK(ecode3
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8626 arg3
= static_cast< int >(val3
);
8629 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8630 if (!SWIG_IsOK(ecode4
)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8633 arg4
= static_cast< long >(val4
);
8637 arg5
= wxString_in_helper(obj4
);
8638 if (arg5
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
= 0;
8667 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8668 int arg2
= (int) 1 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 char * kwnames
[] = {
8676 (char *) "self",(char *) "number", NULL
8679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8684 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8687 if (!SWIG_IsOK(ecode2
)) {
8688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8690 arg2
= static_cast< int >(val2
);
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 (arg1
)->SetFieldsCount(arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_Py_Void();
8705 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8706 PyObject
*resultobj
= 0;
8707 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8711 PyObject
*swig_obj
[1] ;
8713 if (!args
) SWIG_fail
;
8715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8716 if (!SWIG_IsOK(res1
)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8719 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_From_int(static_cast< int >(result
));
8733 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
= 0;
8735 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8736 wxString
*arg2
= 0 ;
8737 int arg3
= (int) 0 ;
8740 bool temp2
= false ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8746 char * kwnames
[] = {
8747 (char *) "self",(char *) "text",(char *) "number", NULL
8750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8752 if (!SWIG_IsOK(res1
)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8755 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8757 arg2
= wxString_in_helper(obj1
);
8758 if (arg2
== NULL
) SWIG_fail
;
8762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8763 if (!SWIG_IsOK(ecode3
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8766 arg3
= static_cast< int >(val3
);
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_Py_Void();
8789 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8792 int arg2
= (int) 0 ;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8800 char * kwnames
[] = {
8801 (char *) "self",(char *) "number", NULL
8804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8806 if (!SWIG_IsOK(res1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8809 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8812 if (!SWIG_IsOK(ecode2
)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8815 arg2
= static_cast< int >(val2
);
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8836 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
= 0;
8838 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8839 wxString
*arg2
= 0 ;
8840 int arg3
= (int) 0 ;
8843 bool temp2
= false ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8848 PyObject
* obj2
= 0 ;
8849 char * kwnames
[] = {
8850 (char *) "self",(char *) "text",(char *) "number", NULL
8853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8855 if (!SWIG_IsOK(res1
)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8858 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8860 arg2
= wxString_in_helper(obj1
);
8861 if (arg2
== NULL
) SWIG_fail
;
8865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8866 if (!SWIG_IsOK(ecode3
)) {
8867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8869 arg3
= static_cast< int >(val3
);
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= SWIG_Py_Void();
8892 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
= 0;
8894 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8895 int arg2
= (int) 0 ;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8902 char * kwnames
[] = {
8903 (char *) "self",(char *) "number", NULL
8906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8908 if (!SWIG_IsOK(res1
)) {
8909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8911 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8914 if (!SWIG_IsOK(ecode2
)) {
8915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8917 arg2
= static_cast< int >(val2
);
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 (arg1
)->PopStatusText(arg2
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_Py_Void();
8932 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
= 0;
8934 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8936 int *arg3
= (int *) 0 ;
8939 PyObject
* obj0
= 0 ;
8940 PyObject
* obj1
= 0 ;
8941 char * kwnames
[] = {
8942 (char *) "self",(char *) "widths", NULL
8945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8947 if (!SWIG_IsOK(res1
)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8950 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8952 arg2
= PyList_Size(obj1
);
8953 arg3
= int_LIST_helper(obj1
);
8954 if (arg3
== NULL
) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_Py_Void();
8964 if (arg3
) delete [] arg3
;
8969 if (arg3
) delete [] arg3
;
8975 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
= 0;
8977 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8979 int *arg3
= (int *) 0 ;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8984 char * kwnames
[] = {
8985 (char *) "self",(char *) "styles", NULL
8988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8990 if (!SWIG_IsOK(res1
)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8993 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8995 arg2
= PyList_Size(obj1
);
8996 arg3
= int_LIST_helper(obj1
);
8997 if (arg3
== NULL
) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_Py_Void();
9007 if (arg3
) delete [] arg3
;
9012 if (arg3
) delete [] arg3
;
9018 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
= 0;
9020 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9029 char * kwnames
[] = {
9030 (char *) "self",(char *) "i", NULL
9033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9035 if (!SWIG_IsOK(res1
)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9038 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9040 if (!SWIG_IsOK(ecode2
)) {
9041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9043 arg2
= static_cast< int >(val2
);
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9057 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
= 0;
9059 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 char * kwnames
[] = {
9068 (char *) "self",(char *) "height", NULL
9071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9073 if (!SWIG_IsOK(res1
)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9076 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9078 if (!SWIG_IsOK(ecode2
)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9081 arg2
= static_cast< int >(val2
);
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->SetMinHeight(arg2
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= SWIG_Py_Void();
9095 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9096 PyObject
*resultobj
= 0;
9097 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9101 PyObject
*swig_obj
[1] ;
9103 if (!args
) SWIG_fail
;
9105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9106 if (!SWIG_IsOK(res1
)) {
9107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9109 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_From_int(static_cast< int >(result
));
9123 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9124 PyObject
*resultobj
= 0;
9125 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9129 PyObject
*swig_obj
[1] ;
9131 if (!args
) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9137 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_From_int(static_cast< int >(result
));
9151 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= 0;
9153 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9154 SwigValueWrapper
<wxVisualAttributes
> result
;
9157 PyObject
* obj0
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "variant", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9165 if (!SWIG_IsOK(ecode1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9168 arg1
= static_cast< wxWindowVariant
>(val1
);
9171 if (!wxPyCheckForApp()) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9184 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9187 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9188 return SWIG_Py_Void();
9191 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9192 return SWIG_Python_InitShadowInstance(args
);
9195 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9196 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9201 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9202 PyObject
*pyobj
= 0;
9206 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9208 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9215 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
= 0;
9217 wxWindow
*arg1
= (wxWindow
*) 0 ;
9218 int arg2
= (int) -1 ;
9219 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9220 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9221 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9222 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9223 long arg5
= (long) wxSP_3D
;
9224 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9225 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9226 wxSplitterWindow
*result
= 0 ;
9235 bool temp6
= false ;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9238 PyObject
* obj2
= 0 ;
9239 PyObject
* obj3
= 0 ;
9240 PyObject
* obj4
= 0 ;
9241 PyObject
* obj5
= 0 ;
9242 char * kwnames
[] = {
9243 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9248 if (!SWIG_IsOK(res1
)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9251 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9254 if (!SWIG_IsOK(ecode2
)) {
9255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9257 arg2
= static_cast< int >(val2
);
9262 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9268 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9272 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9273 if (!SWIG_IsOK(ecode5
)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9276 arg5
= static_cast< long >(val5
);
9280 arg6
= wxString_in_helper(obj5
);
9281 if (arg6
== NULL
) SWIG_fail
;
9286 if (!wxPyCheckForApp()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9307 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9308 PyObject
*resultobj
= 0;
9309 wxSplitterWindow
*result
= 0 ;
9311 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9313 if (!wxPyCheckForApp()) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9326 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
= 0;
9328 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9329 wxWindow
*arg2
= (wxWindow
*) 0 ;
9330 int arg3
= (int) -1 ;
9331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9335 long arg6
= (long) wxSP_3D
;
9336 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9349 bool temp7
= false ;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9352 PyObject
* obj2
= 0 ;
9353 PyObject
* obj3
= 0 ;
9354 PyObject
* obj4
= 0 ;
9355 PyObject
* obj5
= 0 ;
9356 PyObject
* obj6
= 0 ;
9357 char * kwnames
[] = {
9358 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9363 if (!SWIG_IsOK(res1
)) {
9364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9366 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9368 if (!SWIG_IsOK(res2
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9371 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9374 if (!SWIG_IsOK(ecode3
)) {
9375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9377 arg3
= static_cast< int >(val3
);
9382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9392 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9393 if (!SWIG_IsOK(ecode6
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9396 arg6
= static_cast< long >(val6
);
9400 arg7
= wxString_in_helper(obj6
);
9401 if (arg7
== NULL
) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9428 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9429 PyObject
*resultobj
= 0;
9430 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9431 wxWindow
*result
= 0 ;
9434 PyObject
*swig_obj
[1] ;
9436 if (!args
) SWIG_fail
;
9438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9439 if (!SWIG_IsOK(res1
)) {
9440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9442 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= wxPyMake_wxObject(result
, 0);
9458 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9459 PyObject
*resultobj
= 0;
9460 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9461 wxWindow
*result
= 0 ;
9464 PyObject
*swig_obj
[1] ;
9466 if (!args
) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9472 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= wxPyMake_wxObject(result
, 0);
9488 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
= 0;
9490 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 char * kwnames
[] = {
9499 (char *) "self",(char *) "mode", NULL
9502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9504 if (!SWIG_IsOK(res1
)) {
9505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9507 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9509 if (!SWIG_IsOK(ecode2
)) {
9510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9512 arg2
= static_cast< int >(val2
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 (arg1
)->SetSplitMode(arg2
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= SWIG_Py_Void();
9526 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9527 PyObject
*resultobj
= 0;
9528 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9532 PyObject
*swig_obj
[1] ;
9534 if (!args
) SWIG_fail
;
9536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9537 if (!SWIG_IsOK(res1
)) {
9538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9540 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= SWIG_From_int(static_cast< int >(result
));
9554 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
= 0;
9556 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9557 wxWindow
*arg2
= (wxWindow
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 char * kwnames
[] = {
9565 (char *) "self",(char *) "window", NULL
9568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9573 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9575 if (!SWIG_IsOK(res2
)) {
9576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9578 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->Initialize(arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_Py_Void();
9592 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
= 0;
9594 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9595 wxWindow
*arg2
= (wxWindow
*) 0 ;
9596 wxWindow
*arg3
= (wxWindow
*) 0 ;
9597 int arg4
= (int) 0 ;
9607 PyObject
* obj0
= 0 ;
9608 PyObject
* obj1
= 0 ;
9609 PyObject
* obj2
= 0 ;
9610 PyObject
* obj3
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9620 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9622 if (!SWIG_IsOK(res2
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9625 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9626 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9627 if (!SWIG_IsOK(res3
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9630 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9633 if (!SWIG_IsOK(ecode4
)) {
9634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9636 arg4
= static_cast< int >(val4
);
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9653 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
= 0;
9655 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9656 wxWindow
*arg2
= (wxWindow
*) 0 ;
9657 wxWindow
*arg3
= (wxWindow
*) 0 ;
9658 int arg4
= (int) 0 ;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9670 PyObject
* obj2
= 0 ;
9671 PyObject
* obj3
= 0 ;
9672 char * kwnames
[] = {
9673 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9678 if (!SWIG_IsOK(res1
)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9681 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9683 if (!SWIG_IsOK(res2
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9687 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9688 if (!SWIG_IsOK(res3
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9691 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9694 if (!SWIG_IsOK(ecode4
)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9697 arg4
= static_cast< int >(val4
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9714 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
= 0;
9716 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9717 wxWindow
*arg2
= (wxWindow
*) NULL
;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 char * kwnames
[] = {
9726 (char *) "self",(char *) "toRemove", NULL
9729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9731 if (!SWIG_IsOK(res1
)) {
9732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9734 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9737 if (!SWIG_IsOK(res2
)) {
9738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)(arg1
)->Unsplit(arg2
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9760 wxWindow
*arg2
= (wxWindow
*) 0 ;
9761 wxWindow
*arg3
= (wxWindow
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 PyObject
* obj2
= 0 ;
9772 char * kwnames
[] = {
9773 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9778 if (!SWIG_IsOK(res1
)) {
9779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9781 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9783 if (!SWIG_IsOK(res2
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9786 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9787 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9788 if (!SWIG_IsOK(res3
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9791 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9807 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9808 PyObject
*resultobj
= 0;
9809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9812 PyObject
*swig_obj
[1] ;
9814 if (!args
) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9820 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 (arg1
)->UpdateSize();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_Py_Void();
9834 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9835 PyObject
*resultobj
= 0;
9836 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9840 PyObject
*swig_obj
[1] ;
9842 if (!args
) SWIG_fail
;
9844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9845 if (!SWIG_IsOK(res1
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9848 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9864 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
= 0;
9866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "width", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9883 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9885 if (!SWIG_IsOK(ecode2
)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9888 arg2
= static_cast< int >(val2
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 (arg1
)->SetSashSize(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_Py_Void();
9902 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= 0;
9904 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 char * kwnames
[] = {
9913 (char *) "self",(char *) "width", NULL
9916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9921 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9923 if (!SWIG_IsOK(ecode2
)) {
9924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9926 arg2
= static_cast< int >(val2
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 (arg1
)->SetBorderSize(arg2
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_Py_Void();
9940 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9941 PyObject
*resultobj
= 0;
9942 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9946 PyObject
*swig_obj
[1] ;
9948 if (!args
) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9954 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_From_int(static_cast< int >(result
));
9968 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9969 PyObject
*resultobj
= 0;
9970 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9974 PyObject
*swig_obj
[1] ;
9976 if (!args
) SWIG_fail
;
9978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9979 if (!SWIG_IsOK(res1
)) {
9980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9982 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= SWIG_From_int(static_cast< int >(result
));
9996 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
= 0;
9998 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10000 bool arg3
= (bool) true ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 PyObject
* obj2
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "self",(char *) "position",(char *) "redraw", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10016 if (!SWIG_IsOK(res1
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10019 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10021 if (!SWIG_IsOK(ecode2
)) {
10022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10024 arg2
= static_cast< int >(val2
);
10026 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10027 if (!SWIG_IsOK(ecode3
)) {
10028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10030 arg3
= static_cast< bool >(val3
);
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 (arg1
)->SetSashPosition(arg2
,arg3
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= SWIG_Py_Void();
10045 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10046 PyObject
*resultobj
= 0;
10047 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10051 PyObject
*swig_obj
[1] ;
10053 if (!args
) SWIG_fail
;
10054 swig_obj
[0] = args
;
10055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10059 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_From_int(static_cast< int >(result
));
10073 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
= 0;
10075 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "self",(char *) "gravity", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10092 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10093 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10094 if (!SWIG_IsOK(ecode2
)) {
10095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10097 arg2
= static_cast< double >(val2
);
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 (arg1
)->SetSashGravity(arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_Py_Void();
10111 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10112 PyObject
*resultobj
= 0;
10113 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10117 PyObject
*swig_obj
[1] ;
10119 if (!args
) SWIG_fail
;
10120 swig_obj
[0] = args
;
10121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10122 if (!SWIG_IsOK(res1
)) {
10123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10125 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= SWIG_From_double(static_cast< double >(result
));
10139 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
= 0;
10141 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "self",(char *) "min", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10158 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10160 if (!SWIG_IsOK(ecode2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10163 arg2
= static_cast< int >(val2
);
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 (arg1
)->SetMinimumPaneSize(arg2
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_Py_Void();
10177 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10178 PyObject
*resultobj
= 0;
10179 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10183 PyObject
*swig_obj
[1] ;
10185 if (!args
) SWIG_fail
;
10186 swig_obj
[0] = args
;
10187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10188 if (!SWIG_IsOK(res1
)) {
10189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10191 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= SWIG_From_int(static_cast< int >(result
));
10205 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= 0;
10207 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10210 int arg4
= (int) 5 ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 PyObject
* obj2
= 0 ;
10223 PyObject
* obj3
= 0 ;
10224 char * kwnames
[] = {
10225 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10230 if (!SWIG_IsOK(res1
)) {
10231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10233 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10235 if (!SWIG_IsOK(ecode2
)) {
10236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10238 arg2
= static_cast< int >(val2
);
10239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10240 if (!SWIG_IsOK(ecode3
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10243 arg3
= static_cast< int >(val3
);
10245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10246 if (!SWIG_IsOK(ecode4
)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10249 arg4
= static_cast< int >(val4
);
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10266 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10267 PyObject
*resultobj
= 0;
10268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10271 PyObject
*swig_obj
[1] ;
10273 if (!args
) SWIG_fail
;
10274 swig_obj
[0] = args
;
10275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10279 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 (arg1
)->SizeWindows();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_Py_Void();
10293 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
= 0;
10295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 char * kwnames
[] = {
10304 (char *) "self",(char *) "needUpdating", NULL
10307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10313 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10314 if (!SWIG_IsOK(ecode2
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10317 arg2
= static_cast< bool >(val2
);
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 (arg1
)->SetNeedUpdating(arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_Py_Void();
10331 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 PyObject
*resultobj
= 0;
10333 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10337 PyObject
*swig_obj
[1] ;
10339 if (!args
) SWIG_fail
;
10340 swig_obj
[0] = args
;
10341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10361 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
= 0;
10363 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10364 SwigValueWrapper
<wxVisualAttributes
> result
;
10367 PyObject
* obj0
= 0 ;
10368 char * kwnames
[] = {
10369 (char *) "variant", NULL
10372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10375 if (!SWIG_IsOK(ecode1
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10378 arg1
= static_cast< wxWindowVariant
>(val1
);
10381 if (!wxPyCheckForApp()) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10394 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10397 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10398 return SWIG_Py_Void();
10401 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 return SWIG_Python_InitShadowInstance(args
);
10405 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
= 0;
10407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10408 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10409 wxSplitterEvent
*result
= 0 ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 char * kwnames
[] = {
10417 (char *) "type",(char *) "splitter", NULL
10420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10423 if (!SWIG_IsOK(ecode1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10426 arg1
= static_cast< wxEventType
>(val1
);
10429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10430 if (!SWIG_IsOK(res2
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10433 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10448 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
= 0;
10450 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 char * kwnames
[] = {
10459 (char *) "self",(char *) "pos", NULL
10462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10464 if (!SWIG_IsOK(res1
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10467 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10469 if (!SWIG_IsOK(ecode2
)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10472 arg2
= static_cast< int >(val2
);
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 (arg1
)->SetSashPosition(arg2
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_Py_Void();
10486 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10492 PyObject
*swig_obj
[1] ;
10494 if (!args
) SWIG_fail
;
10495 swig_obj
[0] = args
;
10496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10500 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_From_int(static_cast< int >(result
));
10514 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10517 wxWindow
*result
= 0 ;
10520 PyObject
*swig_obj
[1] ;
10522 if (!args
) SWIG_fail
;
10523 swig_obj
[0] = args
;
10524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10528 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= wxPyMake_wxObject(result
, 0);
10544 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 PyObject
*resultobj
= 0;
10546 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10558 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_From_int(static_cast< int >(result
));
10572 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10573 PyObject
*resultobj
= 0;
10574 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10578 PyObject
*swig_obj
[1] ;
10580 if (!args
) SWIG_fail
;
10581 swig_obj
[0] = args
;
10582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10583 if (!SWIG_IsOK(res1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10586 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= SWIG_From_int(static_cast< int >(result
));
10600 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10603 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10604 return SWIG_Py_Void();
10607 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10608 return SWIG_Python_InitShadowInstance(args
);
10611 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10612 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10617 SWIGINTERN PyObject
*SashNameStr_get(void) {
10618 PyObject
*pyobj
= 0;
10622 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10624 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10631 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10632 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10637 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10638 PyObject
*pyobj
= 0;
10642 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10644 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10651 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
= 0;
10653 wxWindow
*arg1
= (wxWindow
*) 0 ;
10654 int arg2
= (int) -1 ;
10655 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10656 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10657 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10658 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10659 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10660 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10661 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10662 wxSashWindow
*result
= 0 ;
10671 bool temp6
= false ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 PyObject
* obj2
= 0 ;
10675 PyObject
* obj3
= 0 ;
10676 PyObject
* obj4
= 0 ;
10677 PyObject
* obj5
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10687 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10690 if (!SWIG_IsOK(ecode2
)) {
10691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10693 arg2
= static_cast< int >(val2
);
10698 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10704 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10708 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10709 if (!SWIG_IsOK(ecode5
)) {
10710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10712 arg5
= static_cast< long >(val5
);
10716 arg6
= wxString_in_helper(obj5
);
10717 if (arg6
== NULL
) SWIG_fail
;
10722 if (!wxPyCheckForApp()) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10743 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10744 PyObject
*resultobj
= 0;
10745 wxSashWindow
*result
= 0 ;
10747 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10749 if (!wxPyCheckForApp()) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (wxSashWindow
*)new wxSashWindow();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10762 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
= 0;
10764 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10765 wxWindow
*arg2
= (wxWindow
*) 0 ;
10766 int arg3
= (int) -1 ;
10767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10771 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10772 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10785 bool temp7
= false ;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 PyObject
* obj2
= 0 ;
10789 PyObject
* obj3
= 0 ;
10790 PyObject
* obj4
= 0 ;
10791 PyObject
* obj5
= 0 ;
10792 PyObject
* obj6
= 0 ;
10793 char * kwnames
[] = {
10794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10802 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10804 if (!SWIG_IsOK(res2
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10810 if (!SWIG_IsOK(ecode3
)) {
10811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10813 arg3
= static_cast< int >(val3
);
10818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10828 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10829 if (!SWIG_IsOK(ecode6
)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10832 arg6
= static_cast< long >(val6
);
10836 arg7
= wxString_in_helper(obj6
);
10837 if (arg7
== NULL
) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10864 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
= 0;
10866 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10867 wxSashEdgePosition arg2
;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 PyObject
* obj2
= 0 ;
10878 char * kwnames
[] = {
10879 (char *) "self",(char *) "edge",(char *) "sash", NULL
10882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10884 if (!SWIG_IsOK(res1
)) {
10885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10887 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10889 if (!SWIG_IsOK(ecode2
)) {
10890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10892 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10893 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10894 if (!SWIG_IsOK(ecode3
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10897 arg3
= static_cast< bool >(val3
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetSashVisible(arg2
,arg3
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_Py_Void();
10911 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
= 0;
10913 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10914 wxSashEdgePosition arg2
;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 char * kwnames
[] = {
10923 (char *) "self",(char *) "edge", NULL
10926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10928 if (!SWIG_IsOK(res1
)) {
10929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10931 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10933 if (!SWIG_IsOK(ecode2
)) {
10934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10936 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10952 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
= 0;
10954 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10955 wxSashEdgePosition arg2
;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 PyObject
* obj2
= 0 ;
10966 char * kwnames
[] = {
10967 (char *) "self",(char *) "edge",(char *) "border", NULL
10970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10975 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10977 if (!SWIG_IsOK(ecode2
)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10980 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10981 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10982 if (!SWIG_IsOK(ecode3
)) {
10983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10985 arg3
= static_cast< bool >(val3
);
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 (arg1
)->SetSashBorder(arg2
,arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= SWIG_Py_Void();
10999 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
= 0;
11001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11002 wxSashEdgePosition arg2
;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 char * kwnames
[] = {
11011 (char *) "self",(char *) "edge", NULL
11014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11016 if (!SWIG_IsOK(res1
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11019 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11021 if (!SWIG_IsOK(ecode2
)) {
11022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11024 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
= 0;
11042 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11043 wxSashEdgePosition arg2
;
11049 PyObject
* obj0
= 0 ;
11050 PyObject
* obj1
= 0 ;
11051 char * kwnames
[] = {
11052 (char *) "self",(char *) "edge", NULL
11055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11057 if (!SWIG_IsOK(res1
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11060 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11062 if (!SWIG_IsOK(ecode2
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11065 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_From_int(static_cast< int >(result
));
11079 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
= 0;
11081 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 char * kwnames
[] = {
11090 (char *) "self",(char *) "width", NULL
11093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11095 if (!SWIG_IsOK(res1
)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11098 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11100 if (!SWIG_IsOK(ecode2
)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11103 arg2
= static_cast< int >(val2
);
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 (arg1
)->SetDefaultBorderSize(arg2
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_Py_Void();
11117 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11118 PyObject
*resultobj
= 0;
11119 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11123 PyObject
*swig_obj
[1] ;
11125 if (!args
) SWIG_fail
;
11126 swig_obj
[0] = args
;
11127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11128 if (!SWIG_IsOK(res1
)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11131 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= SWIG_From_int(static_cast< int >(result
));
11145 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
= 0;
11147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 char * kwnames
[] = {
11156 (char *) "self",(char *) "width", NULL
11159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11161 if (!SWIG_IsOK(res1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11164 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11166 if (!SWIG_IsOK(ecode2
)) {
11167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11169 arg2
= static_cast< int >(val2
);
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 (arg1
)->SetExtraBorderSize(arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_Py_Void();
11183 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 PyObject
*resultobj
= 0;
11185 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11189 PyObject
*swig_obj
[1] ;
11191 if (!args
) SWIG_fail
;
11192 swig_obj
[0] = args
;
11193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11197 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_From_int(static_cast< int >(result
));
11211 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 char * kwnames
[] = {
11222 (char *) "self",(char *) "min", NULL
11225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11227 if (!SWIG_IsOK(res1
)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11230 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11232 if (!SWIG_IsOK(ecode2
)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11235 arg2
= static_cast< int >(val2
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 (arg1
)->SetMinimumSizeX(arg2
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_Py_Void();
11249 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= 0;
11251 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char * kwnames
[] = {
11260 (char *) "self",(char *) "min", NULL
11263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11265 if (!SWIG_IsOK(res1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11268 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11270 if (!SWIG_IsOK(ecode2
)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11273 arg2
= static_cast< int >(val2
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 (arg1
)->SetMinimumSizeY(arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_Py_Void();
11287 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11288 PyObject
*resultobj
= 0;
11289 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11293 PyObject
*swig_obj
[1] ;
11295 if (!args
) SWIG_fail
;
11296 swig_obj
[0] = args
;
11297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11301 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int(static_cast< int >(result
));
11315 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11316 PyObject
*resultobj
= 0;
11317 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11321 PyObject
*swig_obj
[1] ;
11323 if (!args
) SWIG_fail
;
11324 swig_obj
[0] = args
;
11325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11326 if (!SWIG_IsOK(res1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11329 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_From_int(static_cast< int >(result
));
11343 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
= 0;
11345 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11351 PyObject
* obj0
= 0 ;
11352 PyObject
* obj1
= 0 ;
11353 char * kwnames
[] = {
11354 (char *) "self",(char *) "max", NULL
11357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11359 if (!SWIG_IsOK(res1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11362 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11364 if (!SWIG_IsOK(ecode2
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11367 arg2
= static_cast< int >(val2
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 (arg1
)->SetMaximumSizeX(arg2
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_Py_Void();
11381 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
= 0;
11383 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char * kwnames
[] = {
11392 (char *) "self",(char *) "max", NULL
11395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11397 if (!SWIG_IsOK(res1
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11400 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11402 if (!SWIG_IsOK(ecode2
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11405 arg2
= static_cast< int >(val2
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 (arg1
)->SetMaximumSizeY(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_Py_Void();
11419 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11420 PyObject
*resultobj
= 0;
11421 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11425 PyObject
*swig_obj
[1] ;
11427 if (!args
) SWIG_fail
;
11428 swig_obj
[0] = args
;
11429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11430 if (!SWIG_IsOK(res1
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11433 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_From_int(static_cast< int >(result
));
11447 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11448 PyObject
*resultobj
= 0;
11449 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11453 PyObject
*swig_obj
[1] ;
11455 if (!args
) SWIG_fail
;
11456 swig_obj
[0] = args
;
11457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11461 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_From_int(static_cast< int >(result
));
11475 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
= 0;
11477 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11480 int arg4
= (int) 2 ;
11481 wxSashEdgePosition result
;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11492 PyObject
* obj2
= 0 ;
11493 PyObject
* obj3
= 0 ;
11494 char * kwnames
[] = {
11495 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11500 if (!SWIG_IsOK(res1
)) {
11501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11503 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11505 if (!SWIG_IsOK(ecode2
)) {
11506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11508 arg2
= static_cast< int >(val2
);
11509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11510 if (!SWIG_IsOK(ecode3
)) {
11511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11513 arg3
= static_cast< int >(val3
);
11515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11516 if (!SWIG_IsOK(ecode4
)) {
11517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11519 arg4
= static_cast< int >(val4
);
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_From_int(static_cast< int >(result
));
11534 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11535 PyObject
*resultobj
= 0;
11536 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11539 PyObject
*swig_obj
[1] ;
11541 if (!args
) SWIG_fail
;
11542 swig_obj
[0] = args
;
11543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->SizeWindows();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_Py_Void();
11561 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11564 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11565 return SWIG_Py_Void();
11568 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 return SWIG_Python_InitShadowInstance(args
);
11572 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
= 0;
11574 int arg1
= (int) 0 ;
11575 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11576 wxSashEvent
*result
= 0 ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 char * kwnames
[] = {
11584 (char *) "id",(char *) "edge", NULL
11587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11590 if (!SWIG_IsOK(ecode1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11593 arg1
= static_cast< int >(val1
);
11596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11597 if (!SWIG_IsOK(ecode2
)) {
11598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11600 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11615 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
= 0;
11617 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11618 wxSashEdgePosition arg2
;
11623 PyObject
* obj0
= 0 ;
11624 PyObject
* obj1
= 0 ;
11625 char * kwnames
[] = {
11626 (char *) "self",(char *) "edge", NULL
11629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11631 if (!SWIG_IsOK(res1
)) {
11632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11634 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11636 if (!SWIG_IsOK(ecode2
)) {
11637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11639 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->SetEdge(arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_Py_Void();
11653 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11654 PyObject
*resultobj
= 0;
11655 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11656 wxSashEdgePosition result
;
11659 PyObject
*swig_obj
[1] ;
11661 if (!args
) SWIG_fail
;
11662 swig_obj
[0] = args
;
11663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11664 if (!SWIG_IsOK(res1
)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11667 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_From_int(static_cast< int >(result
));
11681 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
= 0;
11683 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 char * kwnames
[] = {
11691 (char *) "self",(char *) "rect", NULL
11694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11696 if (!SWIG_IsOK(res1
)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11699 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_Py_Void();
11717 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 PyObject
*resultobj
= 0;
11719 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11723 PyObject
*swig_obj
[1] ;
11725 if (!args
) SWIG_fail
;
11726 swig_obj
[0] = args
;
11727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11728 if (!SWIG_IsOK(res1
)) {
11729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11731 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11745 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
= 0;
11747 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11748 wxSashDragStatus arg2
;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 char * kwnames
[] = {
11756 (char *) "self",(char *) "status", NULL
11759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11764 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11766 if (!SWIG_IsOK(ecode2
)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11769 arg2
= static_cast< wxSashDragStatus
>(val2
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 (arg1
)->SetDragStatus(arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_Py_Void();
11783 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11784 PyObject
*resultobj
= 0;
11785 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11786 wxSashDragStatus result
;
11789 PyObject
*swig_obj
[1] ;
11791 if (!args
) SWIG_fail
;
11792 swig_obj
[0] = args
;
11793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11794 if (!SWIG_IsOK(res1
)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11797 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_From_int(static_cast< int >(result
));
11811 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11814 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11815 return SWIG_Py_Void();
11818 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11819 return SWIG_Python_InitShadowInstance(args
);
11822 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
= 0;
11824 int arg1
= (int) 0 ;
11825 wxQueryLayoutInfoEvent
*result
= 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char * kwnames
[] = {
11830 (char *) "id", NULL
11833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11836 if (!SWIG_IsOK(ecode1
)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11839 arg1
= static_cast< int >(val1
);
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11854 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
= 0;
11856 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11862 PyObject
* obj0
= 0 ;
11863 PyObject
* obj1
= 0 ;
11864 char * kwnames
[] = {
11865 (char *) "self",(char *) "length", NULL
11868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11870 if (!SWIG_IsOK(res1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11873 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11875 if (!SWIG_IsOK(ecode2
)) {
11876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11878 arg2
= static_cast< int >(val2
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 (arg1
)->SetRequestedLength(arg2
);
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_Py_Void();
11892 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11893 PyObject
*resultobj
= 0;
11894 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11898 PyObject
*swig_obj
[1] ;
11900 if (!args
) SWIG_fail
;
11901 swig_obj
[0] = args
;
11902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11903 if (!SWIG_IsOK(res1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11906 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_From_int(static_cast< int >(result
));
11920 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= 0;
11922 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char * kwnames
[] = {
11931 (char *) "self",(char *) "flags", NULL
11934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11939 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11941 if (!SWIG_IsOK(ecode2
)) {
11942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11944 arg2
= static_cast< int >(val2
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->SetFlags(arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_Py_Void();
11958 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11959 PyObject
*resultobj
= 0;
11960 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11964 PyObject
*swig_obj
[1] ;
11966 if (!args
) SWIG_fail
;
11967 swig_obj
[0] = args
;
11968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11972 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_From_int(static_cast< int >(result
));
11986 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= 0;
11988 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char * kwnames
[] = {
11996 (char *) "self",(char *) "size", NULL
11999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12001 if (!SWIG_IsOK(res1
)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12004 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12007 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->SetSize((wxSize
const &)*arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_Py_Void();
12022 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 PyObject
*resultobj
= 0;
12024 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12028 PyObject
*swig_obj
[1] ;
12030 if (!args
) SWIG_fail
;
12031 swig_obj
[0] = args
;
12032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12033 if (!SWIG_IsOK(res1
)) {
12034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12036 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12050 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
= 0;
12052 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12053 wxLayoutOrientation arg2
;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char * kwnames
[] = {
12061 (char *) "self",(char *) "orient", NULL
12064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12066 if (!SWIG_IsOK(res1
)) {
12067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12069 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12071 if (!SWIG_IsOK(ecode2
)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12074 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 (arg1
)->SetOrientation(arg2
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_Py_Void();
12088 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12089 PyObject
*resultobj
= 0;
12090 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12091 wxLayoutOrientation result
;
12094 PyObject
*swig_obj
[1] ;
12096 if (!args
) SWIG_fail
;
12097 swig_obj
[0] = args
;
12098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12102 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= SWIG_From_int(static_cast< int >(result
));
12116 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
= 0;
12118 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12119 wxLayoutAlignment arg2
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char * kwnames
[] = {
12127 (char *) "self",(char *) "align", NULL
12130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12135 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12137 if (!SWIG_IsOK(ecode2
)) {
12138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12140 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->SetAlignment(arg2
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_Py_Void();
12154 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12155 PyObject
*resultobj
= 0;
12156 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12157 wxLayoutAlignment result
;
12160 PyObject
*swig_obj
[1] ;
12162 if (!args
) SWIG_fail
;
12163 swig_obj
[0] = args
;
12164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12165 if (!SWIG_IsOK(res1
)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12168 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= SWIG_From_int(static_cast< int >(result
));
12182 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12185 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12186 return SWIG_Py_Void();
12189 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12190 return SWIG_Python_InitShadowInstance(args
);
12193 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
= 0;
12195 int arg1
= (int) 0 ;
12196 wxCalculateLayoutEvent
*result
= 0 ;
12199 PyObject
* obj0
= 0 ;
12200 char * kwnames
[] = {
12201 (char *) "id", NULL
12204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12206 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12207 if (!SWIG_IsOK(ecode1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12210 arg1
= static_cast< int >(val1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12225 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
= 0;
12227 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 char * kwnames
[] = {
12236 (char *) "self",(char *) "flags", NULL
12239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12244 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12246 if (!SWIG_IsOK(ecode2
)) {
12247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12249 arg2
= static_cast< int >(val2
);
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->SetFlags(arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_Py_Void();
12263 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12264 PyObject
*resultobj
= 0;
12265 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12269 PyObject
*swig_obj
[1] ;
12271 if (!args
) SWIG_fail
;
12272 swig_obj
[0] = args
;
12273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12277 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_From_int(static_cast< int >(result
));
12291 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
= 0;
12293 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char * kwnames
[] = {
12301 (char *) "self",(char *) "rect", NULL
12304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12306 if (!SWIG_IsOK(res1
)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12309 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12312 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->SetRect((wxRect
const &)*arg2
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_Py_Void();
12327 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12328 PyObject
*resultobj
= 0;
12329 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12333 PyObject
*swig_obj
[1] ;
12335 if (!args
) SWIG_fail
;
12336 swig_obj
[0] = args
;
12337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12338 if (!SWIG_IsOK(res1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12341 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12355 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12358 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12359 return SWIG_Py_Void();
12362 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 return SWIG_Python_InitShadowInstance(args
);
12366 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
= 0;
12368 wxWindow
*arg1
= (wxWindow
*) 0 ;
12369 int arg2
= (int) -1 ;
12370 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12371 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12372 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12373 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12374 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12375 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12376 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12377 wxSashLayoutWindow
*result
= 0 ;
12386 bool temp6
= false ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 PyObject
* obj2
= 0 ;
12390 PyObject
* obj3
= 0 ;
12391 PyObject
* obj4
= 0 ;
12392 PyObject
* obj5
= 0 ;
12393 char * kwnames
[] = {
12394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12399 if (!SWIG_IsOK(res1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12402 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12405 if (!SWIG_IsOK(ecode2
)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12408 arg2
= static_cast< int >(val2
);
12413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12419 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12423 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12424 if (!SWIG_IsOK(ecode5
)) {
12425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12427 arg5
= static_cast< long >(val5
);
12431 arg6
= wxString_in_helper(obj5
);
12432 if (arg6
== NULL
) SWIG_fail
;
12437 if (!wxPyCheckForApp()) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12458 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12459 PyObject
*resultobj
= 0;
12460 wxSashLayoutWindow
*result
= 0 ;
12462 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12464 if (!wxPyCheckForApp()) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12477 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
= 0;
12479 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12480 wxWindow
*arg2
= (wxWindow
*) 0 ;
12481 int arg3
= (int) -1 ;
12482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12486 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12487 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12500 bool temp7
= false ;
12501 PyObject
* obj0
= 0 ;
12502 PyObject
* obj1
= 0 ;
12503 PyObject
* obj2
= 0 ;
12504 PyObject
* obj3
= 0 ;
12505 PyObject
* obj4
= 0 ;
12506 PyObject
* obj5
= 0 ;
12507 PyObject
* obj6
= 0 ;
12508 char * kwnames
[] = {
12509 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12517 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12519 if (!SWIG_IsOK(res2
)) {
12520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12522 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12525 if (!SWIG_IsOK(ecode3
)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12528 arg3
= static_cast< int >(val3
);
12533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12543 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12544 if (!SWIG_IsOK(ecode6
)) {
12545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12547 arg6
= static_cast< long >(val6
);
12551 arg7
= wxString_in_helper(obj6
);
12552 if (arg7
== NULL
) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12579 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12580 PyObject
*resultobj
= 0;
12581 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12582 wxLayoutAlignment result
;
12585 PyObject
*swig_obj
[1] ;
12587 if (!args
) SWIG_fail
;
12588 swig_obj
[0] = args
;
12589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12590 if (!SWIG_IsOK(res1
)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12593 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_From_int(static_cast< int >(result
));
12607 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12608 PyObject
*resultobj
= 0;
12609 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12610 wxLayoutOrientation result
;
12613 PyObject
*swig_obj
[1] ;
12615 if (!args
) SWIG_fail
;
12616 swig_obj
[0] = args
;
12617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12621 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_From_int(static_cast< int >(result
));
12635 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
= 0;
12637 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12638 wxLayoutAlignment arg2
;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 char * kwnames
[] = {
12646 (char *) "self",(char *) "alignment", NULL
12649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12654 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12656 if (!SWIG_IsOK(ecode2
)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12659 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 (arg1
)->SetAlignment(arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_Py_Void();
12673 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
= 0;
12675 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 char * kwnames
[] = {
12683 (char *) "self",(char *) "size", NULL
12686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12688 if (!SWIG_IsOK(res1
)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12691 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= SWIG_Py_Void();
12709 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
= 0;
12711 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12712 wxLayoutOrientation arg2
;
12717 PyObject
* obj0
= 0 ;
12718 PyObject
* obj1
= 0 ;
12719 char * kwnames
[] = {
12720 (char *) "self",(char *) "orientation", NULL
12723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12725 if (!SWIG_IsOK(res1
)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12728 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12730 if (!SWIG_IsOK(ecode2
)) {
12731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12733 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 (arg1
)->SetOrientation(arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_Py_Void();
12747 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12751 return SWIG_Py_Void();
12754 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 return SWIG_Python_InitShadowInstance(args
);
12758 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12759 PyObject
*resultobj
= 0;
12760 wxLayoutAlgorithm
*result
= 0 ;
12762 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12776 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12777 PyObject
*resultobj
= 0;
12778 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12781 PyObject
*swig_obj
[1] ;
12783 if (!args
) SWIG_fail
;
12784 swig_obj
[0] = args
;
12785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12786 if (!SWIG_IsOK(res1
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12789 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_Py_Void();
12804 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
= 0;
12806 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12807 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12808 wxRect
*arg3
= (wxRect
*) NULL
;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "frame",(char *) "rect", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12828 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12830 if (!SWIG_IsOK(res2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12833 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12835 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12836 if (!SWIG_IsOK(res3
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12839 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12856 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
= 0;
12858 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12859 wxFrame
*arg2
= (wxFrame
*) 0 ;
12860 wxWindow
*arg3
= (wxWindow
*) NULL
;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 PyObject
* obj2
= 0 ;
12871 char * kwnames
[] = {
12872 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12877 if (!SWIG_IsOK(res1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12880 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12882 if (!SWIG_IsOK(res2
)) {
12883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12885 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12887 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12888 if (!SWIG_IsOK(res3
)) {
12889 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12891 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12908 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
= 0;
12910 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12911 wxWindow
*arg2
= (wxWindow
*) 0 ;
12912 wxWindow
*arg3
= (wxWindow
*) NULL
;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 PyObject
* obj2
= 0 ;
12923 char * kwnames
[] = {
12924 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12932 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12934 if (!SWIG_IsOK(res2
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12937 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12939 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12940 if (!SWIG_IsOK(res3
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12943 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12960 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12963 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12964 return SWIG_Py_Void();
12967 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 return SWIG_Python_InitShadowInstance(args
);
12971 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
= 0;
12973 wxWindow
*arg1
= (wxWindow
*) 0 ;
12974 int arg2
= (int) wxBORDER_NONE
;
12975 wxPopupWindow
*result
= 0 ;
12980 PyObject
* obj0
= 0 ;
12981 PyObject
* obj1
= 0 ;
12982 char * kwnames
[] = {
12983 (char *) "parent",(char *) "flags", NULL
12986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12988 if (!SWIG_IsOK(res1
)) {
12989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12991 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12994 if (!SWIG_IsOK(ecode2
)) {
12995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12997 arg2
= static_cast< int >(val2
);
13000 if (!wxPyCheckForApp()) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13013 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13014 PyObject
*resultobj
= 0;
13015 wxPopupWindow
*result
= 0 ;
13017 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13019 if (!wxPyCheckForApp()) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (wxPopupWindow
*)new wxPopupWindow();
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13032 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
= 0;
13034 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13035 wxWindow
*arg2
= (wxWindow
*) 0 ;
13036 int arg3
= (int) wxBORDER_NONE
;
13044 PyObject
* obj0
= 0 ;
13045 PyObject
* obj1
= 0 ;
13046 PyObject
* obj2
= 0 ;
13047 char * kwnames
[] = {
13048 (char *) "self",(char *) "parent",(char *) "flags", NULL
13051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13053 if (!SWIG_IsOK(res1
)) {
13054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13056 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13058 if (!SWIG_IsOK(res2
)) {
13059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13064 if (!SWIG_IsOK(ecode3
)) {
13065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13067 arg3
= static_cast< int >(val3
);
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13084 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
= 0;
13086 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13087 wxPoint
*arg2
= 0 ;
13093 PyObject
* obj0
= 0 ;
13094 PyObject
* obj1
= 0 ;
13095 PyObject
* obj2
= 0 ;
13096 char * kwnames
[] = {
13097 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13102 if (!SWIG_IsOK(res1
)) {
13103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13105 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13112 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_Py_Void();
13127 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13130 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13131 return SWIG_Py_Void();
13134 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13135 return SWIG_Python_InitShadowInstance(args
);
13138 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
= 0;
13140 wxWindow
*arg1
= (wxWindow
*) 0 ;
13141 int arg2
= (int) wxBORDER_NONE
;
13142 wxPyPopupTransientWindow
*result
= 0 ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 char * kwnames
[] = {
13150 (char *) "parent",(char *) "style", NULL
13153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13155 if (!SWIG_IsOK(res1
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13161 if (!SWIG_IsOK(ecode2
)) {
13162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13164 arg2
= static_cast< int >(val2
);
13167 if (!wxPyCheckForApp()) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13180 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 PyObject
*resultobj
= 0;
13182 wxPyPopupTransientWindow
*result
= 0 ;
13184 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13186 if (!wxPyCheckForApp()) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13199 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
= 0;
13201 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13202 PyObject
*arg2
= (PyObject
*) 0 ;
13203 PyObject
*arg3
= (PyObject
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 PyObject
* obj2
= 0 ;
13209 char * kwnames
[] = {
13210 (char *) "self",(char *) "self",(char *) "_class", NULL
13213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13215 if (!SWIG_IsOK(res1
)) {
13216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13218 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= SWIG_Py_Void();
13234 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
= 0;
13236 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13237 wxWindow
*arg2
= (wxWindow
*) NULL
;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 char * kwnames
[] = {
13245 (char *) "self",(char *) "focus", NULL
13248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13250 if (!SWIG_IsOK(res1
)) {
13251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13253 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13256 if (!SWIG_IsOK(res2
)) {
13257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13259 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->Popup(arg2
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_Py_Void();
13274 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13275 PyObject
*resultobj
= 0;
13276 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13279 PyObject
*swig_obj
[1] ;
13281 if (!args
) SWIG_fail
;
13282 swig_obj
[0] = args
;
13283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13284 if (!SWIG_IsOK(res1
)) {
13285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13287 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= SWIG_Py_Void();
13301 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13304 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13305 return SWIG_Py_Void();
13308 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13309 return SWIG_Python_InitShadowInstance(args
);
13312 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
= 0;
13314 wxWindow
*arg1
= (wxWindow
*) 0 ;
13315 wxString
*arg2
= 0 ;
13316 int arg3
= (int) 100 ;
13317 wxRect
*arg4
= (wxRect
*) NULL
;
13318 wxTipWindow
*result
= 0 ;
13321 bool temp2
= false ;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 PyObject
* obj2
= 0 ;
13329 PyObject
* obj3
= 0 ;
13330 char * kwnames
[] = {
13331 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13341 arg2
= wxString_in_helper(obj1
);
13342 if (arg2
== NULL
) SWIG_fail
;
13346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13347 if (!SWIG_IsOK(ecode3
)) {
13348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13350 arg3
= static_cast< int >(val3
);
13353 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13354 if (!SWIG_IsOK(res4
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13357 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13360 if (!wxPyCheckForApp()) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13381 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char * kwnames
[] = {
13391 (char *) "self",(char *) "rectBound", NULL
13394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13399 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13402 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_Py_Void();
13417 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13418 PyObject
*resultobj
= 0;
13419 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13422 PyObject
*swig_obj
[1] ;
13424 if (!args
) SWIG_fail
;
13425 swig_obj
[0] = args
;
13426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13427 if (!SWIG_IsOK(res1
)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13430 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_Py_Void();
13444 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13447 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13448 return SWIG_Py_Void();
13451 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 return SWIG_Python_InitShadowInstance(args
);
13455 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
= 0;
13457 wxWindow
*arg1
= (wxWindow
*) 0 ;
13458 int arg2
= (int) wxID_ANY
;
13459 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13460 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13461 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13462 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13463 long arg5
= (long) 0 ;
13464 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13465 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13466 wxPyVScrolledWindow
*result
= 0 ;
13475 bool temp6
= false ;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 PyObject
* obj2
= 0 ;
13479 PyObject
* obj3
= 0 ;
13480 PyObject
* obj4
= 0 ;
13481 PyObject
* obj5
= 0 ;
13482 char * kwnames
[] = {
13483 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13488 if (!SWIG_IsOK(res1
)) {
13489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13491 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13494 if (!SWIG_IsOK(ecode2
)) {
13495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13497 arg2
= static_cast< int >(val2
);
13502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13512 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13513 if (!SWIG_IsOK(ecode5
)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13516 arg5
= static_cast< long >(val5
);
13520 arg6
= wxString_in_helper(obj5
);
13521 if (arg6
== NULL
) SWIG_fail
;
13526 if (!wxPyCheckForApp()) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13547 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13548 PyObject
*resultobj
= 0;
13549 wxPyVScrolledWindow
*result
= 0 ;
13551 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13553 if (!wxPyCheckForApp()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13566 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
= 0;
13568 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13569 PyObject
*arg2
= (PyObject
*) 0 ;
13570 PyObject
*arg3
= (PyObject
*) 0 ;
13573 PyObject
* obj0
= 0 ;
13574 PyObject
* obj1
= 0 ;
13575 PyObject
* obj2
= 0 ;
13576 char * kwnames
[] = {
13577 (char *) "self",(char *) "self",(char *) "_class", NULL
13580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13582 if (!SWIG_IsOK(res1
)) {
13583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13585 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= SWIG_Py_Void();
13601 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
= 0;
13603 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13604 wxWindow
*arg2
= (wxWindow
*) 0 ;
13605 int arg3
= (int) wxID_ANY
;
13606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13610 long arg6
= (long) 0 ;
13611 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13624 bool temp7
= false ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 PyObject
* obj2
= 0 ;
13628 PyObject
* obj3
= 0 ;
13629 PyObject
* obj4
= 0 ;
13630 PyObject
* obj5
= 0 ;
13631 PyObject
* obj6
= 0 ;
13632 char * kwnames
[] = {
13633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13638 if (!SWIG_IsOK(res1
)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13641 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13643 if (!SWIG_IsOK(res2
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13649 if (!SWIG_IsOK(ecode3
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13652 arg3
= static_cast< int >(val3
);
13657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13667 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13668 if (!SWIG_IsOK(ecode6
)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13671 arg6
= static_cast< long >(val6
);
13675 arg7
= wxString_in_helper(obj6
);
13676 if (arg7
== NULL
) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13703 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
= 0;
13705 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 char * kwnames
[] = {
13714 (char *) "self",(char *) "count", NULL
13717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13719 if (!SWIG_IsOK(res1
)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13722 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13723 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13724 if (!SWIG_IsOK(ecode2
)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13727 arg2
= static_cast< size_t >(val2
);
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 (arg1
)->SetLineCount(arg2
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_Py_Void();
13741 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13743 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 PyObject
* obj1
= 0 ;
13752 char * kwnames
[] = {
13753 (char *) "self",(char *) "line", NULL
13756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13758 if (!SWIG_IsOK(res1
)) {
13759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13761 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13762 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13763 if (!SWIG_IsOK(ecode2
)) {
13764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13766 arg2
= static_cast< size_t >(val2
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13782 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
= 0;
13784 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "self",(char *) "line", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13798 if (!SWIG_IsOK(res1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13801 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13802 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13803 if (!SWIG_IsOK(ecode2
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13806 arg2
= static_cast< size_t >(val2
);
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->RefreshLine(arg2
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_Py_Void();
13820 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
= 0;
13822 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 PyObject
* obj2
= 0 ;
13834 char * kwnames
[] = {
13835 (char *) "self",(char *) "from",(char *) "to", NULL
13838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13840 if (!SWIG_IsOK(res1
)) {
13841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13843 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13844 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13845 if (!SWIG_IsOK(ecode2
)) {
13846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13848 arg2
= static_cast< size_t >(val2
);
13849 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13850 if (!SWIG_IsOK(ecode3
)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13853 arg3
= static_cast< size_t >(val3
);
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 (arg1
)->RefreshLines(arg2
,arg3
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= SWIG_Py_Void();
13867 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
= 0;
13869 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 PyObject
* obj2
= 0 ;
13882 char * kwnames
[] = {
13883 (char *) "self",(char *) "x",(char *) "y", NULL
13886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13888 if (!SWIG_IsOK(res1
)) {
13889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13891 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13893 if (!SWIG_IsOK(ecode2
)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13896 arg2
= static_cast< int >(val2
);
13897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13898 if (!SWIG_IsOK(ecode3
)) {
13899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13901 arg3
= static_cast< int >(val3
);
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_From_int(static_cast< int >(result
));
13915 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
= 0;
13917 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13918 wxPoint
*arg2
= 0 ;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 char * kwnames
[] = {
13926 (char *) "self",(char *) "pt", NULL
13929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13931 if (!SWIG_IsOK(res1
)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13934 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_From_int(static_cast< int >(result
));
13952 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13953 PyObject
*resultobj
= 0;
13954 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13957 PyObject
*swig_obj
[1] ;
13959 if (!args
) SWIG_fail
;
13960 swig_obj
[0] = args
;
13961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13962 if (!SWIG_IsOK(res1
)) {
13963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13965 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->RefreshAll();
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= SWIG_Py_Void();
13979 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13980 PyObject
*resultobj
= 0;
13981 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13985 PyObject
*swig_obj
[1] ;
13987 if (!args
) SWIG_fail
;
13988 swig_obj
[0] = args
;
13989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13990 if (!SWIG_IsOK(res1
)) {
13991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13993 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14007 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14008 PyObject
*resultobj
= 0;
14009 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14013 PyObject
*swig_obj
[1] ;
14015 if (!args
) SWIG_fail
;
14016 swig_obj
[0] = args
;
14017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14018 if (!SWIG_IsOK(res1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14021 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14035 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14036 PyObject
*resultobj
= 0;
14037 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14041 PyObject
*swig_obj
[1] ;
14043 if (!args
) SWIG_fail
;
14044 swig_obj
[0] = args
;
14045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14046 if (!SWIG_IsOK(res1
)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14049 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14063 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
= 0;
14065 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 char * kwnames
[] = {
14075 (char *) "self",(char *) "line", NULL
14078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14080 if (!SWIG_IsOK(res1
)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14083 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14084 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14085 if (!SWIG_IsOK(ecode2
)) {
14086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14088 arg2
= static_cast< size_t >(val2
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14104 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14105 PyObject
*resultobj
= 0;
14106 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14110 PyObject
*swig_obj
[1] ;
14112 if (!args
) SWIG_fail
;
14113 swig_obj
[0] = args
;
14114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14115 if (!SWIG_IsOK(res1
)) {
14116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14118 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14132 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 PyObject
*resultobj
= 0;
14134 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14138 PyObject
*swig_obj
[1] ;
14140 if (!args
) SWIG_fail
;
14141 swig_obj
[0] = args
;
14142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14143 if (!SWIG_IsOK(res1
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14146 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14160 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
= 0;
14162 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14164 bool arg3
= (bool) false ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 PyObject
* obj2
= 0 ;
14175 char * kwnames
[] = {
14176 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14184 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14185 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14186 if (!SWIG_IsOK(ecode2
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14189 arg2
= static_cast< size_t >(val2
);
14191 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14192 if (!SWIG_IsOK(ecode3
)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14195 arg3
= static_cast< bool >(val3
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14210 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= 0;
14212 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 PyObject
* obj2
= 0 ;
14225 char * kwnames
[] = {
14226 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14231 if (!SWIG_IsOK(res1
)) {
14232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14234 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14235 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14236 if (!SWIG_IsOK(ecode2
)) {
14237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14239 arg2
= static_cast< size_t >(val2
);
14240 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14241 if (!SWIG_IsOK(ecode3
)) {
14242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14244 arg3
= static_cast< size_t >(val3
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_From_int(static_cast< int >(result
));
14258 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14262 return SWIG_Py_Void();
14265 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14266 return SWIG_Python_InitShadowInstance(args
);
14269 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14270 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14275 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14276 PyObject
*pyobj
= 0;
14280 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14282 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14289 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14291 wxWindow
*arg1
= (wxWindow
*) 0 ;
14292 int arg2
= (int) wxID_ANY
;
14293 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14294 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14295 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14296 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14297 long arg5
= (long) 0 ;
14298 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14299 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14300 wxPyVListBox
*result
= 0 ;
14309 bool temp6
= false ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 PyObject
* obj3
= 0 ;
14314 PyObject
* obj4
= 0 ;
14315 PyObject
* obj5
= 0 ;
14316 char * kwnames
[] = {
14317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14322 if (!SWIG_IsOK(res1
)) {
14323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14325 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14328 if (!SWIG_IsOK(ecode2
)) {
14329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14331 arg2
= static_cast< int >(val2
);
14336 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14342 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14346 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14347 if (!SWIG_IsOK(ecode5
)) {
14348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14350 arg5
= static_cast< long >(val5
);
14354 arg6
= wxString_in_helper(obj5
);
14355 if (arg6
== NULL
) SWIG_fail
;
14360 if (!wxPyCheckForApp()) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14381 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14382 PyObject
*resultobj
= 0;
14383 wxPyVListBox
*result
= 0 ;
14385 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14387 if (!wxPyCheckForApp()) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (wxPyVListBox
*)new wxPyVListBox();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14400 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
= 0;
14402 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14403 PyObject
*arg2
= (PyObject
*) 0 ;
14404 PyObject
*arg3
= (PyObject
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 PyObject
* obj2
= 0 ;
14410 char * kwnames
[] = {
14411 (char *) "self",(char *) "self",(char *) "_class", NULL
14414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14416 if (!SWIG_IsOK(res1
)) {
14417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14419 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= SWIG_Py_Void();
14435 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
= 0;
14437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14438 wxWindow
*arg2
= (wxWindow
*) 0 ;
14439 int arg3
= (int) wxID_ANY
;
14440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14444 long arg6
= (long) 0 ;
14445 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14446 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14458 bool temp7
= false ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 PyObject
* obj2
= 0 ;
14462 PyObject
* obj3
= 0 ;
14463 PyObject
* obj4
= 0 ;
14464 PyObject
* obj5
= 0 ;
14465 PyObject
* obj6
= 0 ;
14466 char * kwnames
[] = {
14467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14472 if (!SWIG_IsOK(res1
)) {
14473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14475 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14477 if (!SWIG_IsOK(res2
)) {
14478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14480 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14483 if (!SWIG_IsOK(ecode3
)) {
14484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14486 arg3
= static_cast< int >(val3
);
14491 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14497 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14501 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14502 if (!SWIG_IsOK(ecode6
)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14505 arg6
= static_cast< long >(val6
);
14509 arg7
= wxString_in_helper(obj6
);
14510 if (arg7
== NULL
) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14538 PyObject
*resultobj
= 0;
14539 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14543 PyObject
*swig_obj
[1] ;
14545 if (!args
) SWIG_fail
;
14546 swig_obj
[0] = args
;
14547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14548 if (!SWIG_IsOK(res1
)) {
14549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14551 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14565 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14566 PyObject
*resultobj
= 0;
14567 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14571 PyObject
*swig_obj
[1] ;
14573 if (!args
) SWIG_fail
;
14574 swig_obj
[0] = args
;
14575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14579 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14595 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14596 PyObject
*resultobj
= 0;
14597 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14601 PyObject
*swig_obj
[1] ;
14603 if (!args
) SWIG_fail
;
14604 swig_obj
[0] = args
;
14605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14606 if (!SWIG_IsOK(res1
)) {
14607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14609 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= SWIG_From_int(static_cast< int >(result
));
14623 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
= 0;
14625 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char * kwnames
[] = {
14635 (char *) "self",(char *) "item", NULL
14638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14643 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14644 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14645 if (!SWIG_IsOK(ecode2
)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14648 arg2
= static_cast< size_t >(val2
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
= 0;
14666 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 PyObject
* obj1
= 0 ;
14675 char * kwnames
[] = {
14676 (char *) "self",(char *) "item", NULL
14679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14681 if (!SWIG_IsOK(res1
)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14684 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14685 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14686 if (!SWIG_IsOK(ecode2
)) {
14687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14689 arg2
= static_cast< size_t >(val2
);
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14706 PyObject
*resultobj
= 0;
14707 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14711 PyObject
*swig_obj
[1] ;
14713 if (!args
) SWIG_fail
;
14714 swig_obj
[0] = args
;
14715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14716 if (!SWIG_IsOK(res1
)) {
14717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14719 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14733 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14734 PyObject
*resultobj
= 0;
14735 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14736 PyObject
*result
= 0 ;
14739 PyObject
*swig_obj
[1] ;
14741 if (!args
) SWIG_fail
;
14742 swig_obj
[0] = args
;
14743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14744 if (!SWIG_IsOK(res1
)) {
14745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14747 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= result
;
14761 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
= 0;
14763 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14764 unsigned long arg2
;
14765 PyObject
*result
= 0 ;
14768 unsigned long val2
;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 char * kwnames
[] = {
14773 (char *) "self",(char *) "cookie", NULL
14776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14778 if (!SWIG_IsOK(res1
)) {
14779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14781 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14782 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14783 if (!SWIG_IsOK(ecode2
)) {
14784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14786 arg2
= static_cast< unsigned long >(val2
);
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= result
;
14800 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14801 PyObject
*resultobj
= 0;
14802 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14806 PyObject
*swig_obj
[1] ;
14808 if (!args
) SWIG_fail
;
14809 swig_obj
[0] = args
;
14810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14814 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14828 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14829 PyObject
*resultobj
= 0;
14830 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14831 wxColour
*result
= 0 ;
14834 PyObject
*swig_obj
[1] ;
14836 if (!args
) SWIG_fail
;
14837 swig_obj
[0] = args
;
14838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14839 if (!SWIG_IsOK(res1
)) {
14840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14842 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14847 result
= (wxColour
*) &_result_ref
;
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14859 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
= 0;
14861 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 char * kwnames
[] = {
14870 (char *) "self",(char *) "count", NULL
14873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14875 if (!SWIG_IsOK(res1
)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14878 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14879 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14880 if (!SWIG_IsOK(ecode2
)) {
14881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14883 arg2
= static_cast< size_t >(val2
);
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 (arg1
)->SetItemCount(arg2
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_Py_Void();
14897 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14898 PyObject
*resultobj
= 0;
14899 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14902 PyObject
*swig_obj
[1] ;
14904 if (!args
) SWIG_fail
;
14905 swig_obj
[0] = args
;
14906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14907 if (!SWIG_IsOK(res1
)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14910 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= SWIG_Py_Void();
14924 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14926 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char * kwnames
[] = {
14935 (char *) "self",(char *) "selection", NULL
14938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14943 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14945 if (!SWIG_IsOK(ecode2
)) {
14946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14948 arg2
= static_cast< int >(val2
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 (arg1
)->SetSelection(arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_Py_Void();
14962 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
= 0;
14964 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14966 bool arg3
= (bool) true ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 PyObject
* obj2
= 0 ;
14977 char * kwnames
[] = {
14978 (char *) "self",(char *) "item",(char *) "select", NULL
14981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14983 if (!SWIG_IsOK(res1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14986 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14987 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14988 if (!SWIG_IsOK(ecode2
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14991 arg2
= static_cast< size_t >(val2
);
14993 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14994 if (!SWIG_IsOK(ecode3
)) {
14995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14997 arg3
= static_cast< bool >(val3
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15014 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= 0;
15016 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 PyObject
* obj2
= 0 ;
15029 char * kwnames
[] = {
15030 (char *) "self",(char *) "from",(char *) "to", NULL
15033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15035 if (!SWIG_IsOK(res1
)) {
15036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15038 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15039 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15040 if (!SWIG_IsOK(ecode2
)) {
15041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15043 arg2
= static_cast< size_t >(val2
);
15044 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15045 if (!SWIG_IsOK(ecode3
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15048 arg3
= static_cast< size_t >(val3
);
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15064 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
= 0;
15066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 char * kwnames
[] = {
15075 (char *) "self",(char *) "item", NULL
15078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15080 if (!SWIG_IsOK(res1
)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15083 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15084 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15085 if (!SWIG_IsOK(ecode2
)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15088 arg2
= static_cast< size_t >(val2
);
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->Toggle(arg2
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= SWIG_Py_Void();
15102 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15103 PyObject
*resultobj
= 0;
15104 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15108 PyObject
*swig_obj
[1] ;
15110 if (!args
) SWIG_fail
;
15111 swig_obj
[0] = args
;
15112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15113 if (!SWIG_IsOK(res1
)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15116 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15119 result
= (bool)(arg1
)->SelectAll();
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15132 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15133 PyObject
*resultobj
= 0;
15134 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15138 PyObject
*swig_obj
[1] ;
15140 if (!args
) SWIG_fail
;
15141 swig_obj
[0] = args
;
15142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15143 if (!SWIG_IsOK(res1
)) {
15144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15146 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (bool)(arg1
)->DeselectAll();
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15162 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
= 0;
15164 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15165 wxPoint
*arg2
= 0 ;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 char * kwnames
[] = {
15172 (char *) "self",(char *) "pt", NULL
15175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15177 if (!SWIG_IsOK(res1
)) {
15178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15180 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_Py_Void();
15198 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
= 0;
15200 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 PyObject
* obj2
= 0 ;
15212 char * kwnames
[] = {
15213 (char *) "self",(char *) "x",(char *) "y", NULL
15216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15218 if (!SWIG_IsOK(res1
)) {
15219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15221 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15223 if (!SWIG_IsOK(ecode2
)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15226 arg2
= static_cast< int >(val2
);
15227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15228 if (!SWIG_IsOK(ecode3
)) {
15229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15231 arg3
= static_cast< int >(val3
);
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 (arg1
)->SetMargins(arg2
,arg3
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_Py_Void();
15245 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
= 0;
15247 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15248 wxColour
*arg2
= 0 ;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 char * kwnames
[] = {
15255 (char *) "self",(char *) "col", NULL
15258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15263 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_Py_Void();
15281 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
= 0;
15283 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 PyObject
* obj1
= 0 ;
15296 PyObject
* obj2
= 0 ;
15297 PyObject
* obj3
= 0 ;
15298 char * kwnames
[] = {
15299 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15304 if (!SWIG_IsOK(res1
)) {
15305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15307 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15309 if (!SWIG_IsOK(res2
)) {
15310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15315 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15318 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15320 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15321 if (!SWIG_IsOK(ecode4
)) {
15322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15324 arg4
= static_cast< size_t >(val4
);
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= SWIG_Py_Void();
15338 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
= 0;
15340 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 PyObject
* obj2
= 0 ;
15354 PyObject
* obj3
= 0 ;
15355 char * kwnames
[] = {
15356 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15361 if (!SWIG_IsOK(res1
)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15364 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15366 if (!SWIG_IsOK(res2
)) {
15367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15372 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15375 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15377 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15378 if (!SWIG_IsOK(ecode4
)) {
15379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15381 arg4
= static_cast< size_t >(val4
);
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= SWIG_Py_Void();
15395 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15399 return SWIG_Py_Void();
15402 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15403 return SWIG_Python_InitShadowInstance(args
);
15406 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
= 0;
15408 wxWindow
*arg1
= (wxWindow
*) 0 ;
15409 int arg2
= (int) wxID_ANY
;
15410 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15411 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15412 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15413 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15414 long arg5
= (long) 0 ;
15415 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15416 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15417 wxPyHtmlListBox
*result
= 0 ;
15426 bool temp6
= false ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 PyObject
* obj3
= 0 ;
15431 PyObject
* obj4
= 0 ;
15432 PyObject
* obj5
= 0 ;
15433 char * kwnames
[] = {
15434 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15439 if (!SWIG_IsOK(res1
)) {
15440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15445 if (!SWIG_IsOK(ecode2
)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15448 arg2
= static_cast< int >(val2
);
15453 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15459 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15463 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15464 if (!SWIG_IsOK(ecode5
)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15467 arg5
= static_cast< long >(val5
);
15471 arg6
= wxString_in_helper(obj5
);
15472 if (arg6
== NULL
) SWIG_fail
;
15477 if (!wxPyCheckForApp()) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15498 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15499 PyObject
*resultobj
= 0;
15500 wxPyHtmlListBox
*result
= 0 ;
15502 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15504 if (!wxPyCheckForApp()) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15517 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
= 0;
15519 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15520 PyObject
*arg2
= (PyObject
*) 0 ;
15521 PyObject
*arg3
= (PyObject
*) 0 ;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 PyObject
* obj2
= 0 ;
15527 char * kwnames
[] = {
15528 (char *) "self",(char *) "self",(char *) "_class", NULL
15531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15536 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_Py_Void();
15552 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
= 0;
15554 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15555 wxWindow
*arg2
= (wxWindow
*) 0 ;
15556 int arg3
= (int) wxID_ANY
;
15557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15561 long arg6
= (long) 0 ;
15562 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15575 bool temp7
= false ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 PyObject
* obj2
= 0 ;
15579 PyObject
* obj3
= 0 ;
15580 PyObject
* obj4
= 0 ;
15581 PyObject
* obj5
= 0 ;
15582 PyObject
* obj6
= 0 ;
15583 char * kwnames
[] = {
15584 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15592 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15594 if (!SWIG_IsOK(res2
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15600 if (!SWIG_IsOK(ecode3
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15603 arg3
= static_cast< int >(val3
);
15608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15618 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15619 if (!SWIG_IsOK(ecode6
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15622 arg6
= static_cast< long >(val6
);
15626 arg7
= wxString_in_helper(obj6
);
15627 if (arg7
== NULL
) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15654 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
= 0;
15656 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 char * kwnames
[] = {
15665 (char *) "self",(char *) "count", NULL
15668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15670 if (!SWIG_IsOK(res1
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15673 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15674 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15675 if (!SWIG_IsOK(ecode2
)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15678 arg2
= static_cast< size_t >(val2
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 (arg1
)->SetItemCount(arg2
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_Py_Void();
15692 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15693 PyObject
*resultobj
= 0;
15694 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15695 wxFileSystem
*result
= 0 ;
15698 PyObject
*swig_obj
[1] ;
15700 if (!args
) SWIG_fail
;
15701 swig_obj
[0] = args
;
15702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15703 if (!SWIG_IsOK(res1
)) {
15704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15706 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15711 result
= (wxFileSystem
*) &_result_ref
;
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15723 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
= 0;
15725 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15727 wxHtmlLinkInfo
*arg3
= 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "n",(char *) "link", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15747 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15748 if (!SWIG_IsOK(ecode2
)) {
15749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15751 arg2
= static_cast< size_t >(val2
);
15752 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15753 if (!SWIG_IsOK(res3
)) {
15754 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15759 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_Py_Void();
15773 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15776 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15777 return SWIG_Py_Void();
15780 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15781 return SWIG_Python_InitShadowInstance(args
);
15784 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15785 PyObject
*resultobj
= 0;
15786 wxPyTaskBarIcon
*result
= 0 ;
15788 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15790 if (!wxPyCheckForApp()) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15803 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15804 PyObject
*resultobj
= 0;
15805 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15808 PyObject
*swig_obj
[1] ;
15810 if (!args
) SWIG_fail
;
15811 swig_obj
[0] = args
;
15812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15816 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_Py_Void();
15831 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15834 PyObject
*arg2
= (PyObject
*) 0 ;
15835 PyObject
*arg3
= (PyObject
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 PyObject
* obj2
= 0 ;
15844 PyObject
* obj3
= 0 ;
15845 char * kwnames
[] = {
15846 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15851 if (!SWIG_IsOK(res1
)) {
15852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15854 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15858 if (!SWIG_IsOK(ecode4
)) {
15859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15861 arg4
= static_cast< int >(val4
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= SWIG_Py_Void();
15875 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15876 PyObject
*resultobj
= 0;
15877 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15880 PyObject
*swig_obj
[1] ;
15882 if (!args
) SWIG_fail
;
15883 swig_obj
[0] = args
;
15884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15885 if (!SWIG_IsOK(res1
)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15888 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 wxPyTaskBarIcon_Destroy(arg1
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_Py_Void();
15902 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15903 PyObject
*resultobj
= 0;
15904 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15908 PyObject
*swig_obj
[1] ;
15910 if (!args
) SWIG_fail
;
15911 swig_obj
[0] = args
;
15912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15913 if (!SWIG_IsOK(res1
)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15916 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15932 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15933 PyObject
*resultobj
= 0;
15934 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15938 PyObject
*swig_obj
[1] ;
15940 if (!args
) SWIG_fail
;
15941 swig_obj
[0] = args
;
15942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15943 if (!SWIG_IsOK(res1
)) {
15944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15946 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15962 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
= 0;
15964 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15966 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15967 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15973 bool temp3
= false ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 PyObject
* obj2
= 0 ;
15977 char * kwnames
[] = {
15978 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15983 if (!SWIG_IsOK(res1
)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15986 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15988 if (!SWIG_IsOK(res2
)) {
15989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15994 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15997 arg3
= wxString_in_helper(obj2
);
15998 if (arg3
== NULL
) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16025 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16026 PyObject
*resultobj
= 0;
16027 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16031 PyObject
*swig_obj
[1] ;
16033 if (!args
) SWIG_fail
;
16034 swig_obj
[0] = args
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16039 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (bool)(arg1
)->RemoveIcon();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16055 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
= 0;
16057 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16058 wxMenu
*arg2
= (wxMenu
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char * kwnames
[] = {
16067 (char *) "self",(char *) "menu", NULL
16070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16072 if (!SWIG_IsOK(res1
)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16075 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16077 if (!SWIG_IsOK(res2
)) {
16078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16080 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (bool)(arg1
)->PopupMenu(arg2
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16096 SWIGINTERN PyObject
*_wrap_TaskBarIcon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16097 PyObject
*resultobj
= 0;
16098 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16102 PyObject
*swig_obj
[1] ;
16104 if (!args
) SWIG_fail
;
16105 swig_obj
[0] = args
;
16106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16107 if (!SWIG_IsOK(res1
)) {
16108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_GetHandle" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16110 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (long)((wxPyTaskBarIcon
const *)arg1
)->GetHandle();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_From_long(static_cast< long >(result
));
16124 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16128 return SWIG_Py_Void();
16131 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16132 return SWIG_Python_InitShadowInstance(args
);
16135 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
= 0;
16138 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16139 wxTaskBarIconEvent
*result
= 0 ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 char * kwnames
[] = {
16147 (char *) "evtType",(char *) "tbIcon", NULL
16150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16152 if (!SWIG_IsOK(ecode1
)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16155 arg1
= static_cast< wxEventType
>(val1
);
16156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16157 if (!SWIG_IsOK(res2
)) {
16158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16160 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16174 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16178 return SWIG_Py_Void();
16181 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16182 return SWIG_Python_InitShadowInstance(args
);
16185 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16186 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16191 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16192 PyObject
*pyobj
= 0;
16196 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16198 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16205 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16206 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16211 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16212 PyObject
*pyobj
= 0;
16216 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16218 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16225 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16226 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16231 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16232 PyObject
*pyobj
= 0;
16236 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16238 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16245 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16246 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16251 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16252 PyObject
*pyobj
= 0;
16256 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16258 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16265 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16266 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16271 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16272 PyObject
*pyobj
= 0;
16276 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16278 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16285 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16286 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16291 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16292 PyObject
*pyobj
= 0;
16296 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16298 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16305 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16306 PyObject
*resultobj
= 0;
16307 wxColourData
*result
= 0 ;
16309 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= (wxColourData
*)new wxColourData();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16323 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16324 PyObject
*resultobj
= 0;
16325 wxColourData
*arg1
= (wxColourData
*) 0 ;
16328 PyObject
*swig_obj
[1] ;
16330 if (!args
) SWIG_fail
;
16331 swig_obj
[0] = args
;
16332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16333 if (!SWIG_IsOK(res1
)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16336 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= SWIG_Py_Void();
16351 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16352 PyObject
*resultobj
= 0;
16353 wxColourData
*arg1
= (wxColourData
*) 0 ;
16357 PyObject
*swig_obj
[1] ;
16359 if (!args
) SWIG_fail
;
16360 swig_obj
[0] = args
;
16361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16362 if (!SWIG_IsOK(res1
)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16365 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (bool)(arg1
)->GetChooseFull();
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16381 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16382 PyObject
*resultobj
= 0;
16383 wxColourData
*arg1
= (wxColourData
*) 0 ;
16387 PyObject
*swig_obj
[1] ;
16389 if (!args
) SWIG_fail
;
16390 swig_obj
[0] = args
;
16391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16392 if (!SWIG_IsOK(res1
)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16395 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (arg1
)->GetColour();
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16409 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
= 0;
16411 wxColourData
*arg1
= (wxColourData
*) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 PyObject
* obj1
= 0 ;
16420 char * kwnames
[] = {
16421 (char *) "self",(char *) "i", NULL
16424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16426 if (!SWIG_IsOK(res1
)) {
16427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16429 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16431 if (!SWIG_IsOK(ecode2
)) {
16432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16434 arg2
= static_cast< int >(val2
);
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (arg1
)->GetCustomColour(arg2
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16448 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
= 0;
16450 wxColourData
*arg1
= (wxColourData
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 char * kwnames
[] = {
16459 (char *) "self",(char *) "flag", NULL
16462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16464 if (!SWIG_IsOK(res1
)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16467 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16469 if (!SWIG_IsOK(ecode2
)) {
16470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16472 arg2
= static_cast< int >(val2
);
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->SetChooseFull(arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= SWIG_Py_Void();
16486 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
= 0;
16488 wxColourData
*arg1
= (wxColourData
*) 0 ;
16489 wxColour
*arg2
= 0 ;
16493 PyObject
* obj0
= 0 ;
16494 PyObject
* obj1
= 0 ;
16495 char * kwnames
[] = {
16496 (char *) "self",(char *) "colour", NULL
16499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16501 if (!SWIG_IsOK(res1
)) {
16502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16504 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 (arg1
)->SetColour((wxColour
const &)*arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_Py_Void();
16522 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16524 wxColourData
*arg1
= (wxColourData
*) 0 ;
16526 wxColour
*arg3
= 0 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 PyObject
* obj2
= 0 ;
16535 char * kwnames
[] = {
16536 (char *) "self",(char *) "i",(char *) "colour", NULL
16539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16541 if (!SWIG_IsOK(res1
)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16544 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16546 if (!SWIG_IsOK(ecode2
)) {
16547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16549 arg2
= static_cast< int >(val2
);
16552 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_Py_Void();
16567 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16570 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16571 return SWIG_Py_Void();
16574 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16575 return SWIG_Python_InitShadowInstance(args
);
16578 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
= 0;
16580 wxWindow
*arg1
= (wxWindow
*) 0 ;
16581 wxColourData
*arg2
= (wxColourData
*) NULL
;
16582 wxColourDialog
*result
= 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char * kwnames
[] = {
16590 (char *) "parent",(char *) "data", NULL
16593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16595 if (!SWIG_IsOK(res1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16601 if (!SWIG_IsOK(res2
)) {
16602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16604 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16607 if (!wxPyCheckForApp()) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16620 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16621 PyObject
*resultobj
= 0;
16622 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16623 wxColourData
*result
= 0 ;
16626 PyObject
*swig_obj
[1] ;
16628 if (!args
) SWIG_fail
;
16629 swig_obj
[0] = args
;
16630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16631 if (!SWIG_IsOK(res1
)) {
16632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16634 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16639 result
= (wxColourData
*) &_result_ref
;
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16651 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16654 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16655 return SWIG_Py_Void();
16658 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16659 return SWIG_Python_InitShadowInstance(args
);
16662 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
= 0;
16664 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16665 wxColour
const &arg2_defvalue
= wxNullColour
;
16666 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16667 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16668 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16673 bool temp3
= false ;
16674 PyObject
* obj0
= 0 ;
16675 PyObject
* obj1
= 0 ;
16676 PyObject
* obj2
= 0 ;
16677 char * kwnames
[] = {
16678 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16684 if (!SWIG_IsOK(res1
)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16687 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16692 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16697 arg3
= wxString_in_helper(obj2
);
16698 if (arg3
== NULL
) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16723 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
= 0;
16725 wxWindow
*arg1
= (wxWindow
*) 0 ;
16726 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16727 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16728 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16729 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16730 long arg4
= (long) 0 ;
16731 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16732 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16733 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16734 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16735 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16736 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16737 wxDirDialog
*result
= 0 ;
16740 bool temp2
= false ;
16741 bool temp3
= false ;
16746 bool temp7
= false ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 PyObject
* obj2
= 0 ;
16750 PyObject
* obj3
= 0 ;
16751 PyObject
* obj4
= 0 ;
16752 PyObject
* obj5
= 0 ;
16753 PyObject
* obj6
= 0 ;
16754 char * kwnames
[] = {
16755 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16760 if (!SWIG_IsOK(res1
)) {
16761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16763 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16766 arg2
= wxString_in_helper(obj1
);
16767 if (arg2
== NULL
) SWIG_fail
;
16773 arg3
= wxString_in_helper(obj2
);
16774 if (arg3
== NULL
) SWIG_fail
;
16779 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16780 if (!SWIG_IsOK(ecode4
)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16783 arg4
= static_cast< long >(val4
);
16788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16799 arg7
= wxString_in_helper(obj6
);
16800 if (arg7
== NULL
) SWIG_fail
;
16805 if (!wxPyCheckForApp()) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16842 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16843 PyObject
*resultobj
= 0;
16844 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16848 PyObject
*swig_obj
[1] ;
16850 if (!args
) SWIG_fail
;
16851 swig_obj
[0] = args
;
16852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16853 if (!SWIG_IsOK(res1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16856 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (arg1
)->GetPath();
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16876 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16877 PyObject
*resultobj
= 0;
16878 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16882 PyObject
*swig_obj
[1] ;
16884 if (!args
) SWIG_fail
;
16885 swig_obj
[0] = args
;
16886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16887 if (!SWIG_IsOK(res1
)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16890 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (arg1
)->GetMessage();
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16910 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16913 wxString
*arg2
= 0 ;
16916 bool temp2
= false ;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 char * kwnames
[] = {
16920 (char *) "self",(char *) "message", NULL
16923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16928 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16930 arg2
= wxString_in_helper(obj1
);
16931 if (arg2
== NULL
) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 (arg1
)->SetMessage((wxString
const &)*arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_Py_Void();
16955 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
= 0;
16957 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16958 wxString
*arg2
= 0 ;
16961 bool temp2
= false ;
16962 PyObject
* obj0
= 0 ;
16963 PyObject
* obj1
= 0 ;
16964 char * kwnames
[] = {
16965 (char *) "self",(char *) "path", NULL
16968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16970 if (!SWIG_IsOK(res1
)) {
16971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16973 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16975 arg2
= wxString_in_helper(obj1
);
16976 if (arg2
== NULL
) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 (arg1
)->SetPath((wxString
const &)*arg2
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= SWIG_Py_Void();
17000 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17003 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17004 return SWIG_Py_Void();
17007 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17008 return SWIG_Python_InitShadowInstance(args
);
17011 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
= 0;
17013 wxWindow
*arg1
= (wxWindow
*) 0 ;
17014 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17015 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17016 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17017 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17018 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17019 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17020 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17021 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17022 long arg6
= (long) 0 ;
17023 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17024 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17025 wxFileDialog
*result
= 0 ;
17028 bool temp2
= false ;
17029 bool temp3
= false ;
17030 bool temp4
= false ;
17031 bool temp5
= false ;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 PyObject
* obj2
= 0 ;
17038 PyObject
* obj3
= 0 ;
17039 PyObject
* obj4
= 0 ;
17040 PyObject
* obj5
= 0 ;
17041 PyObject
* obj6
= 0 ;
17042 char * kwnames
[] = {
17043 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17048 if (!SWIG_IsOK(res1
)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17054 arg2
= wxString_in_helper(obj1
);
17055 if (arg2
== NULL
) SWIG_fail
;
17061 arg3
= wxString_in_helper(obj2
);
17062 if (arg3
== NULL
) SWIG_fail
;
17068 arg4
= wxString_in_helper(obj3
);
17069 if (arg4
== NULL
) SWIG_fail
;
17075 arg5
= wxString_in_helper(obj4
);
17076 if (arg5
== NULL
) SWIG_fail
;
17081 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17082 if (!SWIG_IsOK(ecode6
)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17085 arg6
= static_cast< long >(val6
);
17090 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17094 if (!wxPyCheckForApp()) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17139 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
= 0;
17141 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17142 wxString
*arg2
= 0 ;
17145 bool temp2
= false ;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "self",(char *) "message", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17154 if (!SWIG_IsOK(res1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17157 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17159 arg2
= wxString_in_helper(obj1
);
17160 if (arg2
== NULL
) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 (arg1
)->SetMessage((wxString
const &)*arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_Py_Void();
17184 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17187 wxString
*arg2
= 0 ;
17190 bool temp2
= false ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 char * kwnames
[] = {
17194 (char *) "self",(char *) "path", NULL
17197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17199 if (!SWIG_IsOK(res1
)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17202 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17204 arg2
= wxString_in_helper(obj1
);
17205 if (arg2
== NULL
) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 (arg1
)->SetPath((wxString
const &)*arg2
);
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= SWIG_Py_Void();
17229 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
= 0;
17231 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17232 wxString
*arg2
= 0 ;
17235 bool temp2
= false ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 char * kwnames
[] = {
17239 (char *) "self",(char *) "dir", NULL
17242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17244 if (!SWIG_IsOK(res1
)) {
17245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17247 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17249 arg2
= wxString_in_helper(obj1
);
17250 if (arg2
== NULL
) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= SWIG_Py_Void();
17274 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
= 0;
17276 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17277 wxString
*arg2
= 0 ;
17280 bool temp2
= false ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char * kwnames
[] = {
17284 (char *) "self",(char *) "name", NULL
17287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17289 if (!SWIG_IsOK(res1
)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17292 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17294 arg2
= wxString_in_helper(obj1
);
17295 if (arg2
== NULL
) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 (arg1
)->SetFilename((wxString
const &)*arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_Py_Void();
17319 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
= 0;
17321 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17322 wxString
*arg2
= 0 ;
17325 bool temp2
= false ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char * kwnames
[] = {
17329 (char *) "self",(char *) "wildCard", NULL
17332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17334 if (!SWIG_IsOK(res1
)) {
17335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17337 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17339 arg2
= wxString_in_helper(obj1
);
17340 if (arg2
== NULL
) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= SWIG_Py_Void();
17364 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
= 0;
17366 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char * kwnames
[] = {
17375 (char *) "self",(char *) "style", NULL
17378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17380 if (!SWIG_IsOK(res1
)) {
17381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17383 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17384 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17385 if (!SWIG_IsOK(ecode2
)) {
17386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17388 arg2
= static_cast< long >(val2
);
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 (arg1
)->SetStyle(arg2
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_Py_Void();
17402 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
= 0;
17404 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 char * kwnames
[] = {
17413 (char *) "self",(char *) "filterIndex", NULL
17416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17418 if (!SWIG_IsOK(res1
)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17421 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17423 if (!SWIG_IsOK(ecode2
)) {
17424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17426 arg2
= static_cast< int >(val2
);
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 (arg1
)->SetFilterIndex(arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= SWIG_Py_Void();
17440 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17441 PyObject
*resultobj
= 0;
17442 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17446 PyObject
*swig_obj
[1] ;
17448 if (!args
) SWIG_fail
;
17449 swig_obj
[0] = args
;
17450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17451 if (!SWIG_IsOK(res1
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17454 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17474 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17475 PyObject
*resultobj
= 0;
17476 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17480 PyObject
*swig_obj
[1] ;
17482 if (!args
) SWIG_fail
;
17483 swig_obj
[0] = args
;
17484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17485 if (!SWIG_IsOK(res1
)) {
17486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17488 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17508 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17509 PyObject
*resultobj
= 0;
17510 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17514 PyObject
*swig_obj
[1] ;
17516 if (!args
) SWIG_fail
;
17517 swig_obj
[0] = args
;
17518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17519 if (!SWIG_IsOK(res1
)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17522 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17542 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17543 PyObject
*resultobj
= 0;
17544 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17548 PyObject
*swig_obj
[1] ;
17550 if (!args
) SWIG_fail
;
17551 swig_obj
[0] = args
;
17552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17553 if (!SWIG_IsOK(res1
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17556 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17576 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 PyObject
*resultobj
= 0;
17578 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17582 PyObject
*swig_obj
[1] ;
17584 if (!args
) SWIG_fail
;
17585 swig_obj
[0] = args
;
17586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17587 if (!SWIG_IsOK(res1
)) {
17588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17590 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17610 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17611 PyObject
*resultobj
= 0;
17612 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17616 PyObject
*swig_obj
[1] ;
17618 if (!args
) SWIG_fail
;
17619 swig_obj
[0] = args
;
17620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17621 if (!SWIG_IsOK(res1
)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17624 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_From_long(static_cast< long >(result
));
17638 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17639 PyObject
*resultobj
= 0;
17640 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17644 PyObject
*swig_obj
[1] ;
17646 if (!args
) SWIG_fail
;
17647 swig_obj
[0] = args
;
17648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17652 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_From_int(static_cast< int >(result
));
17666 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17667 PyObject
*resultobj
= 0;
17668 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17669 PyObject
*result
= 0 ;
17672 PyObject
*swig_obj
[1] ;
17674 if (!args
) SWIG_fail
;
17675 swig_obj
[0] = args
;
17676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17677 if (!SWIG_IsOK(res1
)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17680 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= result
;
17694 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17695 PyObject
*resultobj
= 0;
17696 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17697 PyObject
*result
= 0 ;
17700 PyObject
*swig_obj
[1] ;
17702 if (!args
) SWIG_fail
;
17703 swig_obj
[0] = args
;
17704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17705 if (!SWIG_IsOK(res1
)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17708 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= result
;
17722 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17725 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17726 return SWIG_Py_Void();
17729 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17730 return SWIG_Python_InitShadowInstance(args
);
17733 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
= 0;
17735 wxWindow
*arg1
= (wxWindow
*) 0 ;
17736 wxString
*arg2
= 0 ;
17737 wxString
*arg3
= 0 ;
17738 int arg4
= (int) 0 ;
17739 wxString
*arg5
= (wxString
*) NULL
;
17740 long arg6
= (long) wxCHOICEDLG_STYLE
;
17741 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17742 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17743 wxMultiChoiceDialog
*result
= 0 ;
17746 bool temp2
= false ;
17747 bool temp3
= false ;
17751 PyObject
* obj0
= 0 ;
17752 PyObject
* obj1
= 0 ;
17753 PyObject
* obj2
= 0 ;
17754 PyObject
* obj3
= 0 ;
17755 PyObject
* obj4
= 0 ;
17756 PyObject
* obj5
= 0 ;
17757 char * kwnames
[] = {
17758 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17763 if (!SWIG_IsOK(res1
)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17768 arg2
= wxString_in_helper(obj1
);
17769 if (arg2
== NULL
) SWIG_fail
;
17773 arg3
= wxString_in_helper(obj2
);
17774 if (arg3
== NULL
) SWIG_fail
;
17779 arg4
= PyList_Size(obj3
);
17780 arg5
= wxString_LIST_helper(obj3
);
17781 if (arg5
== NULL
) SWIG_fail
;
17785 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17786 if (!SWIG_IsOK(ecode6
)) {
17787 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17789 arg6
= static_cast< long >(val6
);
17794 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17798 if (!wxPyCheckForApp()) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17814 if (arg5
) delete [] arg5
;
17827 if (arg5
) delete [] arg5
;
17833 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
= 0;
17835 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17836 wxArrayInt
*arg2
= 0 ;
17839 bool temp2
= false ;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 char * kwnames
[] = {
17843 (char *) "self",(char *) "selections", NULL
17846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17848 if (!SWIG_IsOK(res1
)) {
17849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17851 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17853 if (! PySequence_Check(obj1
)) {
17854 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17857 arg2
= new wxArrayInt
;
17859 int i
, len
=PySequence_Length(obj1
);
17860 for (i
=0; i
<len
; i
++) {
17861 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17862 PyObject
* number
= PyNumber_Int(item
);
17863 arg2
->Add(PyInt_AS_LONG(number
));
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_Py_Void();
17876 if (temp2
) delete arg2
;
17881 if (temp2
) delete arg2
;
17887 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17888 PyObject
*resultobj
= 0;
17889 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17890 PyObject
*result
= 0 ;
17893 PyObject
*swig_obj
[1] ;
17895 if (!args
) SWIG_fail
;
17896 swig_obj
[0] = args
;
17897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17898 if (!SWIG_IsOK(res1
)) {
17899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17901 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= result
;
17915 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17918 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17919 return SWIG_Py_Void();
17922 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17923 return SWIG_Python_InitShadowInstance(args
);
17926 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
= 0;
17928 wxWindow
*arg1
= (wxWindow
*) 0 ;
17929 wxString
*arg2
= 0 ;
17930 wxString
*arg3
= 0 ;
17932 wxString
*arg5
= (wxString
*) 0 ;
17933 long arg6
= (long) wxCHOICEDLG_STYLE
;
17934 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17935 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17936 wxSingleChoiceDialog
*result
= 0 ;
17939 bool temp2
= false ;
17940 bool temp3
= false ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 PyObject
* obj2
= 0 ;
17947 PyObject
* obj3
= 0 ;
17948 PyObject
* obj4
= 0 ;
17949 PyObject
* obj5
= 0 ;
17950 char * kwnames
[] = {
17951 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17956 if (!SWIG_IsOK(res1
)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17959 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17961 arg2
= wxString_in_helper(obj1
);
17962 if (arg2
== NULL
) SWIG_fail
;
17966 arg3
= wxString_in_helper(obj2
);
17967 if (arg3
== NULL
) SWIG_fail
;
17971 arg4
= PyList_Size(obj3
);
17972 arg5
= wxString_LIST_helper(obj3
);
17973 if (arg5
== NULL
) SWIG_fail
;
17976 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17977 if (!SWIG_IsOK(ecode6
)) {
17978 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17980 arg6
= static_cast< long >(val6
);
17985 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17989 if (!wxPyCheckForApp()) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18005 if (arg5
) delete [] arg5
;
18018 if (arg5
) delete [] arg5
;
18024 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18025 PyObject
*resultobj
= 0;
18026 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18030 PyObject
*swig_obj
[1] ;
18032 if (!args
) SWIG_fail
;
18033 swig_obj
[0] = args
;
18034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18035 if (!SWIG_IsOK(res1
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18038 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (int)(arg1
)->GetSelection();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_From_int(static_cast< int >(result
));
18052 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18053 PyObject
*resultobj
= 0;
18054 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18058 PyObject
*swig_obj
[1] ;
18060 if (!args
) SWIG_fail
;
18061 swig_obj
[0] = args
;
18062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18063 if (!SWIG_IsOK(res1
)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18066 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (arg1
)->GetStringSelection();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18086 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
= 0;
18088 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char * kwnames
[] = {
18097 (char *) "self",(char *) "sel", NULL
18100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18102 if (!SWIG_IsOK(res1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18105 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18107 if (!SWIG_IsOK(ecode2
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18110 arg2
= static_cast< int >(val2
);
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 (arg1
)->SetSelection(arg2
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_Py_Void();
18124 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18127 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18128 return SWIG_Py_Void();
18131 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18132 return SWIG_Python_InitShadowInstance(args
);
18135 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
= 0;
18137 wxWindow
*arg1
= (wxWindow
*) 0 ;
18138 wxString
*arg2
= 0 ;
18139 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18141 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18142 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18143 long arg5
= (long) wxTextEntryDialogStyle
;
18144 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18145 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18146 wxTextEntryDialog
*result
= 0 ;
18149 bool temp2
= false ;
18150 bool temp3
= false ;
18151 bool temp4
= false ;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 PyObject
* obj2
= 0 ;
18158 PyObject
* obj3
= 0 ;
18159 PyObject
* obj4
= 0 ;
18160 PyObject
* obj5
= 0 ;
18161 char * kwnames
[] = {
18162 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18167 if (!SWIG_IsOK(res1
)) {
18168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18172 arg2
= wxString_in_helper(obj1
);
18173 if (arg2
== NULL
) SWIG_fail
;
18178 arg3
= wxString_in_helper(obj2
);
18179 if (arg3
== NULL
) SWIG_fail
;
18185 arg4
= wxString_in_helper(obj3
);
18186 if (arg4
== NULL
) SWIG_fail
;
18191 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18192 if (!SWIG_IsOK(ecode5
)) {
18193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18195 arg5
= static_cast< long >(val5
);
18200 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18204 if (!wxPyCheckForApp()) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18241 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18242 PyObject
*resultobj
= 0;
18243 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18247 PyObject
*swig_obj
[1] ;
18249 if (!args
) SWIG_fail
;
18250 swig_obj
[0] = args
;
18251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18255 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (arg1
)->GetValue();
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18275 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
= 0;
18277 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18278 wxString
*arg2
= 0 ;
18281 bool temp2
= false ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 char * kwnames
[] = {
18285 (char *) "self",(char *) "value", NULL
18288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18293 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18295 arg2
= wxString_in_helper(obj1
);
18296 if (arg2
== NULL
) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->SetValue((wxString
const &)*arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_Py_Void();
18320 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18323 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18324 return SWIG_Py_Void();
18327 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18328 return SWIG_Python_InitShadowInstance(args
);
18331 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18332 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18337 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18338 PyObject
*pyobj
= 0;
18342 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18344 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18351 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= 0;
18353 wxWindow
*arg1
= (wxWindow
*) 0 ;
18354 wxString
*arg2
= 0 ;
18355 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18357 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18358 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18359 long arg5
= (long) wxTextEntryDialogStyle
;
18360 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18361 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18362 wxPasswordEntryDialog
*result
= 0 ;
18365 bool temp2
= false ;
18366 bool temp3
= false ;
18367 bool temp4
= false ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 PyObject
* obj2
= 0 ;
18374 PyObject
* obj3
= 0 ;
18375 PyObject
* obj4
= 0 ;
18376 PyObject
* obj5
= 0 ;
18377 char * kwnames
[] = {
18378 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18383 if (!SWIG_IsOK(res1
)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18388 arg2
= wxString_in_helper(obj1
);
18389 if (arg2
== NULL
) SWIG_fail
;
18394 arg3
= wxString_in_helper(obj2
);
18395 if (arg3
== NULL
) SWIG_fail
;
18401 arg4
= wxString_in_helper(obj3
);
18402 if (arg4
== NULL
) SWIG_fail
;
18407 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18408 if (!SWIG_IsOK(ecode5
)) {
18409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18411 arg5
= static_cast< long >(val5
);
18416 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18456 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18460 return SWIG_Py_Void();
18463 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18464 return SWIG_Python_InitShadowInstance(args
);
18467 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18468 PyObject
*resultobj
= 0;
18469 wxFontData
*result
= 0 ;
18471 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (wxFontData
*)new wxFontData();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18485 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18486 PyObject
*resultobj
= 0;
18487 wxFontData
*arg1
= (wxFontData
*) 0 ;
18490 PyObject
*swig_obj
[1] ;
18492 if (!args
) SWIG_fail
;
18493 swig_obj
[0] = args
;
18494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18498 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_Py_Void();
18513 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
= 0;
18515 wxFontData
*arg1
= (wxFontData
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char * kwnames
[] = {
18524 (char *) "self",(char *) "enable", NULL
18527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18529 if (!SWIG_IsOK(res1
)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18532 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18533 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18534 if (!SWIG_IsOK(ecode2
)) {
18535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18537 arg2
= static_cast< bool >(val2
);
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->EnableEffects(arg2
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_Py_Void();
18551 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18552 PyObject
*resultobj
= 0;
18553 wxFontData
*arg1
= (wxFontData
*) 0 ;
18557 PyObject
*swig_obj
[1] ;
18559 if (!args
) SWIG_fail
;
18560 swig_obj
[0] = args
;
18561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18565 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (bool)(arg1
)->GetAllowSymbols();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18581 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18582 PyObject
*resultobj
= 0;
18583 wxFontData
*arg1
= (wxFontData
*) 0 ;
18587 PyObject
*swig_obj
[1] ;
18589 if (!args
) SWIG_fail
;
18590 swig_obj
[0] = args
;
18591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18592 if (!SWIG_IsOK(res1
)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18595 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (arg1
)->GetColour();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18609 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18610 PyObject
*resultobj
= 0;
18611 wxFontData
*arg1
= (wxFontData
*) 0 ;
18615 PyObject
*swig_obj
[1] ;
18617 if (!args
) SWIG_fail
;
18618 swig_obj
[0] = args
;
18619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18620 if (!SWIG_IsOK(res1
)) {
18621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18623 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 result
= (arg1
)->GetChosenFont();
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18637 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18638 PyObject
*resultobj
= 0;
18639 wxFontData
*arg1
= (wxFontData
*) 0 ;
18643 PyObject
*swig_obj
[1] ;
18645 if (!args
) SWIG_fail
;
18646 swig_obj
[0] = args
;
18647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18648 if (!SWIG_IsOK(res1
)) {
18649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18651 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (bool)(arg1
)->GetEnableEffects();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18667 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18668 PyObject
*resultobj
= 0;
18669 wxFontData
*arg1
= (wxFontData
*) 0 ;
18673 PyObject
*swig_obj
[1] ;
18675 if (!args
) SWIG_fail
;
18676 swig_obj
[0] = args
;
18677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18678 if (!SWIG_IsOK(res1
)) {
18679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18681 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (arg1
)->GetInitialFont();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18695 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18696 PyObject
*resultobj
= 0;
18697 wxFontData
*arg1
= (wxFontData
*) 0 ;
18701 PyObject
*swig_obj
[1] ;
18703 if (!args
) SWIG_fail
;
18704 swig_obj
[0] = args
;
18705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18706 if (!SWIG_IsOK(res1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18709 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= (bool)(arg1
)->GetShowHelp();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18725 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
= 0;
18727 wxFontData
*arg1
= (wxFontData
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char * kwnames
[] = {
18736 (char *) "self",(char *) "allowSymbols", NULL
18739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18741 if (!SWIG_IsOK(res1
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18744 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18746 if (!SWIG_IsOK(ecode2
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18749 arg2
= static_cast< bool >(val2
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->SetAllowSymbols(arg2
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_Py_Void();
18763 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
= 0;
18765 wxFontData
*arg1
= (wxFontData
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char * kwnames
[] = {
18774 (char *) "self",(char *) "font", NULL
18777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18779 if (!SWIG_IsOK(res1
)) {
18780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18782 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18784 if (!SWIG_IsOK(res2
)) {
18785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18790 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= SWIG_Py_Void();
18804 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
= 0;
18806 wxFontData
*arg1
= (wxFontData
*) 0 ;
18807 wxColour
*arg2
= 0 ;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char * kwnames
[] = {
18814 (char *) "self",(char *) "colour", NULL
18817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18819 if (!SWIG_IsOK(res1
)) {
18820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18822 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18825 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 (arg1
)->SetColour((wxColour
const &)*arg2
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= SWIG_Py_Void();
18840 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
= 0;
18842 wxFontData
*arg1
= (wxFontData
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 char * kwnames
[] = {
18851 (char *) "self",(char *) "font", NULL
18854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18856 if (!SWIG_IsOK(res1
)) {
18857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18859 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18861 if (!SWIG_IsOK(res2
)) {
18862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18867 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_Py_Void();
18881 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= 0;
18883 wxFontData
*arg1
= (wxFontData
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 PyObject
* obj1
= 0 ;
18894 PyObject
* obj2
= 0 ;
18895 char * kwnames
[] = {
18896 (char *) "self",(char *) "min",(char *) "max", NULL
18899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18901 if (!SWIG_IsOK(res1
)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18904 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18906 if (!SWIG_IsOK(ecode2
)) {
18907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18909 arg2
= static_cast< int >(val2
);
18910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18911 if (!SWIG_IsOK(ecode3
)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18914 arg3
= static_cast< int >(val3
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->SetRange(arg2
,arg3
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_Py_Void();
18928 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxFontData
*arg1
= (wxFontData
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "showHelp", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18947 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18949 if (!SWIG_IsOK(ecode2
)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18952 arg2
= static_cast< bool >(val2
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->SetShowHelp(arg2
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18969 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18970 return SWIG_Py_Void();
18973 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18974 return SWIG_Python_InitShadowInstance(args
);
18977 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
= 0;
18979 wxWindow
*arg1
= (wxWindow
*) 0 ;
18980 wxFontData
*arg2
= 0 ;
18981 wxFontDialog
*result
= 0 ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char * kwnames
[] = {
18989 (char *) "parent",(char *) "data", NULL
18992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18994 if (!SWIG_IsOK(res1
)) {
18995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18999 if (!SWIG_IsOK(res2
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19005 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19007 if (!wxPyCheckForApp()) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19020 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19021 PyObject
*resultobj
= 0;
19022 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19023 wxFontData
*result
= 0 ;
19026 PyObject
*swig_obj
[1] ;
19028 if (!args
) SWIG_fail
;
19029 swig_obj
[0] = args
;
19030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19034 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19039 result
= (wxFontData
*) &_result_ref
;
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19051 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19054 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19055 return SWIG_Py_Void();
19058 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19059 return SWIG_Python_InitShadowInstance(args
);
19062 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
= 0;
19064 wxWindow
*arg1
= (wxWindow
*) NULL
;
19065 wxFont
const &arg2_defvalue
= wxNullFont
;
19066 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19074 bool temp3
= false ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 PyObject
* obj2
= 0 ;
19078 char * kwnames
[] = {
19079 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19092 if (!SWIG_IsOK(res2
)) {
19093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19098 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19102 arg3
= wxString_in_helper(obj2
);
19103 if (arg3
== NULL
) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19128 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
= 0;
19130 wxWindow
*arg1
= (wxWindow
*) 0 ;
19131 wxString
*arg2
= 0 ;
19132 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19133 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19134 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19135 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19136 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19137 wxMessageDialog
*result
= 0 ;
19140 bool temp2
= false ;
19141 bool temp3
= false ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 PyObject
* obj2
= 0 ;
19148 PyObject
* obj3
= 0 ;
19149 PyObject
* obj4
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19161 arg2
= wxString_in_helper(obj1
);
19162 if (arg2
== NULL
) SWIG_fail
;
19167 arg3
= wxString_in_helper(obj2
);
19168 if (arg3
== NULL
) SWIG_fail
;
19173 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19174 if (!SWIG_IsOK(ecode4
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19177 arg4
= static_cast< long >(val4
);
19182 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19186 if (!wxPyCheckForApp()) SWIG_fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19215 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19218 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19219 return SWIG_Py_Void();
19222 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19223 return SWIG_Python_InitShadowInstance(args
);
19226 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
= 0;
19228 wxString
*arg1
= 0 ;
19229 wxString
*arg2
= 0 ;
19230 int arg3
= (int) 100 ;
19231 wxWindow
*arg4
= (wxWindow
*) NULL
;
19232 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19233 wxProgressDialog
*result
= 0 ;
19234 bool temp1
= false ;
19235 bool temp2
= false ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 PyObject
* obj2
= 0 ;
19245 PyObject
* obj3
= 0 ;
19246 PyObject
* obj4
= 0 ;
19247 char * kwnames
[] = {
19248 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19253 arg1
= wxString_in_helper(obj0
);
19254 if (arg1
== NULL
) SWIG_fail
;
19258 arg2
= wxString_in_helper(obj1
);
19259 if (arg2
== NULL
) SWIG_fail
;
19263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19264 if (!SWIG_IsOK(ecode3
)) {
19265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19267 arg3
= static_cast< int >(val3
);
19270 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19271 if (!SWIG_IsOK(res4
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19274 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19278 if (!SWIG_IsOK(ecode5
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19281 arg5
= static_cast< int >(val5
);
19284 if (!wxPyCheckForApp()) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19313 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
= 0;
19315 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19317 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19318 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19319 bool *arg4
= (bool *) 0 ;
19325 bool temp3
= false ;
19327 int res4
= SWIG_TMPOBJ
;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 PyObject
* obj2
= 0 ;
19331 char * kwnames
[] = {
19332 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19338 if (!SWIG_IsOK(res1
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19341 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19343 if (!SWIG_IsOK(ecode2
)) {
19344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19346 arg2
= static_cast< int >(val2
);
19349 arg3
= wxString_in_helper(obj2
);
19350 if (arg3
== NULL
) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19363 if (SWIG_IsTmpObj(res4
)) {
19364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19366 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19383 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19384 PyObject
*resultobj
= 0;
19385 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19388 PyObject
*swig_obj
[1] ;
19390 if (!args
) SWIG_fail
;
19391 swig_obj
[0] = args
;
19392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19396 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= SWIG_Py_Void();
19410 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19413 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19414 return SWIG_Py_Void();
19417 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19418 return SWIG_Python_InitShadowInstance(args
);
19421 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= 0;
19423 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19424 int arg2
= (int) 0 ;
19425 wxFindDialogEvent
*result
= 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char * kwnames
[] = {
19433 (char *) "commandType",(char *) "id", NULL
19436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19439 if (!SWIG_IsOK(ecode1
)) {
19440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19442 arg1
= static_cast< wxEventType
>(val1
);
19445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19446 if (!SWIG_IsOK(ecode2
)) {
19447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19449 arg2
= static_cast< int >(val2
);
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19464 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19465 PyObject
*resultobj
= 0;
19466 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19470 PyObject
*swig_obj
[1] ;
19472 if (!args
) SWIG_fail
;
19473 swig_obj
[0] = args
;
19474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19475 if (!SWIG_IsOK(res1
)) {
19476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19478 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (int)(arg1
)->GetFlags();
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= SWIG_From_int(static_cast< int >(result
));
19492 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19493 PyObject
*resultobj
= 0;
19494 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19495 wxString
*result
= 0 ;
19498 PyObject
*swig_obj
[1] ;
19500 if (!args
) SWIG_fail
;
19501 swig_obj
[0] = args
;
19502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19503 if (!SWIG_IsOK(res1
)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19506 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 wxString
const &_result_ref
= (arg1
)->GetFindString();
19511 result
= (wxString
*) &_result_ref
;
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19520 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19529 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19530 PyObject
*resultobj
= 0;
19531 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19532 wxString
*result
= 0 ;
19535 PyObject
*swig_obj
[1] ;
19537 if (!args
) SWIG_fail
;
19538 swig_obj
[0] = args
;
19539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19540 if (!SWIG_IsOK(res1
)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19543 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19548 result
= (wxString
*) &_result_ref
;
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19557 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19566 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19567 PyObject
*resultobj
= 0;
19568 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19569 wxFindReplaceDialog
*result
= 0 ;
19572 PyObject
*swig_obj
[1] ;
19574 if (!args
) SWIG_fail
;
19575 swig_obj
[0] = args
;
19576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19577 if (!SWIG_IsOK(res1
)) {
19578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19580 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19594 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
= 0;
19596 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 char * kwnames
[] = {
19605 (char *) "self",(char *) "flags", NULL
19608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19610 if (!SWIG_IsOK(res1
)) {
19611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19613 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19615 if (!SWIG_IsOK(ecode2
)) {
19616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19618 arg2
= static_cast< int >(val2
);
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->SetFlags(arg2
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_Py_Void();
19632 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
= 0;
19634 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19635 wxString
*arg2
= 0 ;
19638 bool temp2
= false ;
19639 PyObject
* obj0
= 0 ;
19640 PyObject
* obj1
= 0 ;
19641 char * kwnames
[] = {
19642 (char *) "self",(char *) "str", NULL
19645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19647 if (!SWIG_IsOK(res1
)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19650 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19652 arg2
= wxString_in_helper(obj1
);
19653 if (arg2
== NULL
) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 (arg1
)->SetFindString((wxString
const &)*arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_Py_Void();
19677 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
= 0;
19679 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19680 wxString
*arg2
= 0 ;
19683 bool temp2
= false ;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 char * kwnames
[] = {
19687 (char *) "self",(char *) "str", NULL
19690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19695 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19697 arg2
= wxString_in_helper(obj1
);
19698 if (arg2
== NULL
) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= SWIG_Py_Void();
19722 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19725 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19726 return SWIG_Py_Void();
19729 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19730 return SWIG_Python_InitShadowInstance(args
);
19733 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
= 0;
19735 int arg1
= (int) 0 ;
19736 wxFindReplaceData
*result
= 0 ;
19739 PyObject
* obj0
= 0 ;
19740 char * kwnames
[] = {
19741 (char *) "flags", NULL
19744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19747 if (!SWIG_IsOK(ecode1
)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19750 arg1
= static_cast< int >(val1
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19765 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19766 PyObject
*resultobj
= 0;
19767 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19770 PyObject
*swig_obj
[1] ;
19772 if (!args
) SWIG_fail
;
19773 swig_obj
[0] = args
;
19774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19775 if (!SWIG_IsOK(res1
)) {
19776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19778 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_Py_Void();
19793 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19794 PyObject
*resultobj
= 0;
19795 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19796 wxString
*result
= 0 ;
19799 PyObject
*swig_obj
[1] ;
19801 if (!args
) SWIG_fail
;
19802 swig_obj
[0] = args
;
19803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19807 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 wxString
const &_result_ref
= (arg1
)->GetFindString();
19812 result
= (wxString
*) &_result_ref
;
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19821 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19830 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19831 PyObject
*resultobj
= 0;
19832 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19833 wxString
*result
= 0 ;
19836 PyObject
*swig_obj
[1] ;
19838 if (!args
) SWIG_fail
;
19839 swig_obj
[0] = args
;
19840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19841 if (!SWIG_IsOK(res1
)) {
19842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19844 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19849 result
= (wxString
*) &_result_ref
;
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19858 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19867 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19868 PyObject
*resultobj
= 0;
19869 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19873 PyObject
*swig_obj
[1] ;
19875 if (!args
) SWIG_fail
;
19876 swig_obj
[0] = args
;
19877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19881 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (int)(arg1
)->GetFlags();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= SWIG_From_int(static_cast< int >(result
));
19895 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
= 0;
19897 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 char * kwnames
[] = {
19906 (char *) "self",(char *) "flags", NULL
19909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19911 if (!SWIG_IsOK(res1
)) {
19912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19914 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19916 if (!SWIG_IsOK(ecode2
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19919 arg2
= static_cast< int >(val2
);
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->SetFlags(arg2
);
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= SWIG_Py_Void();
19933 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
= 0;
19935 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19936 wxString
*arg2
= 0 ;
19939 bool temp2
= false ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 char * kwnames
[] = {
19943 (char *) "self",(char *) "str", NULL
19946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19948 if (!SWIG_IsOK(res1
)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19951 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19953 arg2
= wxString_in_helper(obj1
);
19954 if (arg2
== NULL
) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 (arg1
)->SetFindString((wxString
const &)*arg2
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_Py_Void();
19978 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= 0;
19980 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19981 wxString
*arg2
= 0 ;
19984 bool temp2
= false ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char * kwnames
[] = {
19988 (char *) "self",(char *) "str", NULL
19991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19996 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19998 arg2
= wxString_in_helper(obj1
);
19999 if (arg2
== NULL
) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_Py_Void();
20023 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20026 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20027 return SWIG_Py_Void();
20030 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20031 return SWIG_Python_InitShadowInstance(args
);
20034 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
= 0;
20036 wxWindow
*arg1
= (wxWindow
*) 0 ;
20037 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20038 wxString
*arg3
= 0 ;
20039 int arg4
= (int) 0 ;
20040 wxFindReplaceDialog
*result
= 0 ;
20045 bool temp3
= false ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 PyObject
* obj2
= 0 ;
20051 PyObject
* obj3
= 0 ;
20052 char * kwnames
[] = {
20053 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20058 if (!SWIG_IsOK(res1
)) {
20059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20063 if (!SWIG_IsOK(res2
)) {
20064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20066 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20068 arg3
= wxString_in_helper(obj2
);
20069 if (arg3
== NULL
) SWIG_fail
;
20073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20074 if (!SWIG_IsOK(ecode4
)) {
20075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20077 arg4
= static_cast< int >(val4
);
20080 if (!wxPyCheckForApp()) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20101 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20102 PyObject
*resultobj
= 0;
20103 wxFindReplaceDialog
*result
= 0 ;
20105 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20107 if (!wxPyCheckForApp()) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20120 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
= 0;
20122 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20123 wxWindow
*arg2
= (wxWindow
*) 0 ;
20124 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20125 wxString
*arg4
= 0 ;
20126 int arg5
= (int) 0 ;
20134 bool temp4
= false ;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 PyObject
* obj2
= 0 ;
20140 PyObject
* obj3
= 0 ;
20141 PyObject
* obj4
= 0 ;
20142 char * kwnames
[] = {
20143 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20151 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20153 if (!SWIG_IsOK(res2
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20156 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20157 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20158 if (!SWIG_IsOK(res3
)) {
20159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20161 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20163 arg4
= wxString_in_helper(obj3
);
20164 if (arg4
== NULL
) SWIG_fail
;
20168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20169 if (!SWIG_IsOK(ecode5
)) {
20170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20172 arg5
= static_cast< int >(val5
);
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20197 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20198 PyObject
*resultobj
= 0;
20199 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20200 wxFindReplaceData
*result
= 0 ;
20203 PyObject
*swig_obj
[1] ;
20205 if (!args
) SWIG_fail
;
20206 swig_obj
[0] = args
;
20207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20208 if (!SWIG_IsOK(res1
)) {
20209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20211 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20225 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
= 0;
20227 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20228 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 char * kwnames
[] = {
20236 (char *) "self",(char *) "data", NULL
20239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20244 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20246 if (!SWIG_IsOK(res2
)) {
20247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20249 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->SetData(arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= SWIG_Py_Void();
20263 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20266 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20267 return SWIG_Py_Void();
20270 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20271 return SWIG_Python_InitShadowInstance(args
);
20274 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxWindow
*arg1
= (wxWindow
*) 0 ;
20277 int arg2
= (int) (int)-1 ;
20278 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20279 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20284 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20285 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20286 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20287 wxMDIParentFrame
*result
= 0 ;
20292 bool temp3
= false ;
20297 bool temp7
= false ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 PyObject
* obj2
= 0 ;
20301 PyObject
* obj3
= 0 ;
20302 PyObject
* obj4
= 0 ;
20303 PyObject
* obj5
= 0 ;
20304 PyObject
* obj6
= 0 ;
20305 char * kwnames
[] = {
20306 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20311 if (!SWIG_IsOK(res1
)) {
20312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20317 if (!SWIG_IsOK(ecode2
)) {
20318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20320 arg2
= static_cast< int >(val2
);
20324 arg3
= wxString_in_helper(obj2
);
20325 if (arg3
== NULL
) SWIG_fail
;
20332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20342 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20343 if (!SWIG_IsOK(ecode6
)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20346 arg6
= static_cast< long >(val6
);
20350 arg7
= wxString_in_helper(obj6
);
20351 if (arg7
== NULL
) SWIG_fail
;
20356 if (!wxPyCheckForApp()) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20385 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20386 PyObject
*resultobj
= 0;
20387 wxMDIParentFrame
*result
= 0 ;
20389 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20391 if (!wxPyCheckForApp()) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20404 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
= 0;
20406 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20407 wxWindow
*arg2
= (wxWindow
*) 0 ;
20408 int arg3
= (int) (int)-1 ;
20409 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20410 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20411 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20412 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20413 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20414 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20415 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20416 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20417 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20425 bool temp4
= false ;
20430 bool temp8
= false ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 PyObject
* obj2
= 0 ;
20434 PyObject
* obj3
= 0 ;
20435 PyObject
* obj4
= 0 ;
20436 PyObject
* obj5
= 0 ;
20437 PyObject
* obj6
= 0 ;
20438 PyObject
* obj7
= 0 ;
20439 char * kwnames
[] = {
20440 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20448 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20450 if (!SWIG_IsOK(res2
)) {
20451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20453 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20456 if (!SWIG_IsOK(ecode3
)) {
20457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20459 arg3
= static_cast< int >(val3
);
20463 arg4
= wxString_in_helper(obj3
);
20464 if (arg4
== NULL
) SWIG_fail
;
20471 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20477 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20481 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20482 if (!SWIG_IsOK(ecode7
)) {
20483 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20485 arg7
= static_cast< long >(val7
);
20489 arg8
= wxString_in_helper(obj7
);
20490 if (arg8
== NULL
) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20525 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20526 PyObject
*resultobj
= 0;
20527 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20530 PyObject
*swig_obj
[1] ;
20532 if (!args
) SWIG_fail
;
20533 swig_obj
[0] = args
;
20534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20538 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 (arg1
)->ActivateNext();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_Py_Void();
20552 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20553 PyObject
*resultobj
= 0;
20554 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20557 PyObject
*swig_obj
[1] ;
20559 if (!args
) SWIG_fail
;
20560 swig_obj
[0] = args
;
20561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20562 if (!SWIG_IsOK(res1
)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20565 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 (arg1
)->ActivatePrevious();
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= SWIG_Py_Void();
20579 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20580 PyObject
*resultobj
= 0;
20581 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20584 PyObject
*swig_obj
[1] ;
20586 if (!args
) SWIG_fail
;
20587 swig_obj
[0] = args
;
20588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20592 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 (arg1
)->ArrangeIcons();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_Py_Void();
20606 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20607 PyObject
*resultobj
= 0;
20608 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20611 PyObject
*swig_obj
[1] ;
20613 if (!args
) SWIG_fail
;
20614 swig_obj
[0] = args
;
20615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20619 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_Py_Void();
20633 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20634 PyObject
*resultobj
= 0;
20635 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20636 wxMDIChildFrame
*result
= 0 ;
20639 PyObject
*swig_obj
[1] ;
20641 if (!args
) SWIG_fail
;
20642 swig_obj
[0] = args
;
20643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20644 if (!SWIG_IsOK(res1
)) {
20645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20647 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20663 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20664 PyObject
*resultobj
= 0;
20665 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20666 wxMDIClientWindow
*result
= 0 ;
20669 PyObject
*swig_obj
[1] ;
20671 if (!args
) SWIG_fail
;
20672 swig_obj
[0] = args
;
20673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20677 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20693 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20694 PyObject
*resultobj
= 0;
20695 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20696 wxWindow
*result
= 0 ;
20699 PyObject
*swig_obj
[1] ;
20701 if (!args
) SWIG_fail
;
20702 swig_obj
[0] = args
;
20703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20707 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (wxWindow
*)(arg1
)->GetToolBar();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= wxPyMake_wxObject(result
, 0);
20723 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20724 PyObject
*resultobj
= 0;
20725 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20726 wxMenu
*result
= 0 ;
20729 PyObject
*swig_obj
[1] ;
20731 if (!args
) SWIG_fail
;
20732 swig_obj
[0] = args
;
20733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20737 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= wxPyMake_wxObject(result
, 0);
20753 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= 0;
20755 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20756 wxMenu
*arg2
= (wxMenu
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char * kwnames
[] = {
20764 (char *) "self",(char *) "menu", NULL
20767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20772 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
20774 if (!SWIG_IsOK(res2
)) {
20775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20777 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 (arg1
)->SetWindowMenu(arg2
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_Py_Void();
20791 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
= 0;
20793 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20794 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20801 char * kwnames
[] = {
20802 (char *) "self",(char *) "orient", NULL
20805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20807 if (!SWIG_IsOK(res1
)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20810 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20813 if (!SWIG_IsOK(ecode2
)) {
20814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20816 arg2
= static_cast< wxOrientation
>(val2
);
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 (arg1
)->Tile(arg2
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_Py_Void();
20831 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20834 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20835 return SWIG_Py_Void();
20838 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20839 return SWIG_Python_InitShadowInstance(args
);
20842 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
= 0;
20844 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20845 int arg2
= (int) (int)-1 ;
20846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20848 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20849 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20850 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20851 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20852 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20853 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20854 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20855 wxMDIChildFrame
*result
= 0 ;
20860 bool temp3
= false ;
20865 bool temp7
= false ;
20866 PyObject
* obj0
= 0 ;
20867 PyObject
* obj1
= 0 ;
20868 PyObject
* obj2
= 0 ;
20869 PyObject
* obj3
= 0 ;
20870 PyObject
* obj4
= 0 ;
20871 PyObject
* obj5
= 0 ;
20872 PyObject
* obj6
= 0 ;
20873 char * kwnames
[] = {
20874 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20879 if (!SWIG_IsOK(res1
)) {
20880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20882 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20885 if (!SWIG_IsOK(ecode2
)) {
20886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20888 arg2
= static_cast< int >(val2
);
20892 arg3
= wxString_in_helper(obj2
);
20893 if (arg3
== NULL
) SWIG_fail
;
20900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20910 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20911 if (!SWIG_IsOK(ecode6
)) {
20912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20914 arg6
= static_cast< long >(val6
);
20918 arg7
= wxString_in_helper(obj6
);
20919 if (arg7
== NULL
) SWIG_fail
;
20924 if (!wxPyCheckForApp()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20953 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20954 PyObject
*resultobj
= 0;
20955 wxMDIChildFrame
*result
= 0 ;
20957 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20959 if (!wxPyCheckForApp()) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20972 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
= 0;
20974 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20975 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20976 int arg3
= (int) (int)-1 ;
20977 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20978 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20979 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20980 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20981 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20982 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20983 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20984 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20993 bool temp4
= false ;
20998 bool temp8
= false ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 PyObject
* obj2
= 0 ;
21002 PyObject
* obj3
= 0 ;
21003 PyObject
* obj4
= 0 ;
21004 PyObject
* obj5
= 0 ;
21005 PyObject
* obj6
= 0 ;
21006 PyObject
* obj7
= 0 ;
21007 char * kwnames
[] = {
21008 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21016 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21018 if (!SWIG_IsOK(res2
)) {
21019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21021 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21024 if (!SWIG_IsOK(ecode3
)) {
21025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21027 arg3
= static_cast< int >(val3
);
21031 arg4
= wxString_in_helper(obj3
);
21032 if (arg4
== NULL
) SWIG_fail
;
21039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21049 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21050 if (!SWIG_IsOK(ecode7
)) {
21051 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21053 arg7
= static_cast< long >(val7
);
21057 arg8
= wxString_in_helper(obj7
);
21058 if (arg8
== NULL
) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21093 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21094 PyObject
*resultobj
= 0;
21095 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21098 PyObject
*swig_obj
[1] ;
21100 if (!args
) SWIG_fail
;
21101 swig_obj
[0] = args
;
21102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21103 if (!SWIG_IsOK(res1
)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21106 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 (arg1
)->Activate();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_Py_Void();
21120 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21123 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21124 return SWIG_Py_Void();
21127 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21128 return SWIG_Python_InitShadowInstance(args
);
21131 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
= 0;
21133 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21134 long arg2
= (long) 0 ;
21135 wxMDIClientWindow
*result
= 0 ;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 char * kwnames
[] = {
21143 (char *) "parent",(char *) "style", NULL
21146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21151 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21153 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21154 if (!SWIG_IsOK(ecode2
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21157 arg2
= static_cast< long >(val2
);
21160 if (!wxPyCheckForApp()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21173 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21174 PyObject
*resultobj
= 0;
21175 wxMDIClientWindow
*result
= 0 ;
21177 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21179 if (!wxPyCheckForApp()) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21192 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
= 0;
21194 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21195 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21196 long arg3
= (long) 0 ;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 PyObject
* obj2
= 0 ;
21207 char * kwnames
[] = {
21208 (char *) "self",(char *) "parent",(char *) "style", NULL
21211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21213 if (!SWIG_IsOK(res1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21216 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21218 if (!SWIG_IsOK(res2
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21221 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21224 if (!SWIG_IsOK(ecode3
)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21227 arg3
= static_cast< long >(val3
);
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21244 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21247 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21248 return SWIG_Py_Void();
21251 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21252 return SWIG_Python_InitShadowInstance(args
);
21255 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
= 0;
21257 wxWindow
*arg1
= (wxWindow
*) 0 ;
21258 int arg2
= (int) (int)-1 ;
21259 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21260 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21261 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21262 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21263 long arg5
= (long) 0 ;
21264 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21265 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21266 wxPyWindow
*result
= 0 ;
21275 bool temp6
= false ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 PyObject
* obj2
= 0 ;
21279 PyObject
* obj3
= 0 ;
21280 PyObject
* obj4
= 0 ;
21281 PyObject
* obj5
= 0 ;
21282 char * kwnames
[] = {
21283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21294 if (!SWIG_IsOK(ecode2
)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21297 arg2
= static_cast< int >(val2
);
21302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21308 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21312 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21313 if (!SWIG_IsOK(ecode5
)) {
21314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21316 arg5
= static_cast< long >(val5
);
21320 arg6
= wxString_in_helper(obj5
);
21321 if (arg6
== NULL
) SWIG_fail
;
21326 if (!wxPyCheckForApp()) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21347 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21348 PyObject
*resultobj
= 0;
21349 wxPyWindow
*result
= 0 ;
21351 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21353 if (!wxPyCheckForApp()) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (wxPyWindow
*)new wxPyWindow();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21366 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
= 0;
21368 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21369 PyObject
*arg2
= (PyObject
*) 0 ;
21370 PyObject
*arg3
= (PyObject
*) 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 PyObject
* obj2
= 0 ;
21376 char * kwnames
[] = {
21377 (char *) "self",(char *) "self",(char *) "_class", NULL
21380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21382 if (!SWIG_IsOK(res1
)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21385 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_Py_Void();
21401 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
= 0;
21403 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char * kwnames
[] = {
21411 (char *) "self",(char *) "size", NULL
21414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21419 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21422 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_Py_Void();
21437 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= 0;
21439 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21440 wxDC
*arg2
= (wxDC
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "dc", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21457 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21459 if (!SWIG_IsOK(res2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21462 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21478 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= 0;
21480 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21495 PyObject
* obj0
= 0 ;
21496 PyObject
* obj1
= 0 ;
21497 PyObject
* obj2
= 0 ;
21498 PyObject
* obj3
= 0 ;
21499 PyObject
* obj4
= 0 ;
21500 char * kwnames
[] = {
21501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21506 if (!SWIG_IsOK(res1
)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21509 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21511 if (!SWIG_IsOK(ecode2
)) {
21512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21514 arg2
= static_cast< int >(val2
);
21515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21516 if (!SWIG_IsOK(ecode3
)) {
21517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21519 arg3
= static_cast< int >(val3
);
21520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21521 if (!SWIG_IsOK(ecode4
)) {
21522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21524 arg4
= static_cast< int >(val4
);
21525 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21526 if (!SWIG_IsOK(ecode5
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21529 arg5
= static_cast< int >(val5
);
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= SWIG_Py_Void();
21543 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
= 0;
21545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21550 int arg6
= (int) wxSIZE_AUTO
;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 PyObject
* obj2
= 0 ;
21566 PyObject
* obj3
= 0 ;
21567 PyObject
* obj4
= 0 ;
21568 PyObject
* obj5
= 0 ;
21569 char * kwnames
[] = {
21570 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21575 if (!SWIG_IsOK(res1
)) {
21576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21578 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21580 if (!SWIG_IsOK(ecode2
)) {
21581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21583 arg2
= static_cast< int >(val2
);
21584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21585 if (!SWIG_IsOK(ecode3
)) {
21586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21588 arg3
= static_cast< int >(val3
);
21589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21590 if (!SWIG_IsOK(ecode4
)) {
21591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21593 arg4
= static_cast< int >(val4
);
21594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21595 if (!SWIG_IsOK(ecode5
)) {
21596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21598 arg5
= static_cast< int >(val5
);
21600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21601 if (!SWIG_IsOK(ecode6
)) {
21602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21604 arg6
= static_cast< int >(val6
);
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_Py_Void();
21619 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 char * kwnames
[] = {
21634 (char *) "self",(char *) "width",(char *) "height", NULL
21637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21642 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21644 if (!SWIG_IsOK(ecode2
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21647 arg2
= static_cast< int >(val2
);
21648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21649 if (!SWIG_IsOK(ecode3
)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21652 arg3
= static_cast< int >(val3
);
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 (arg1
)->DoSetClientSize(arg2
,arg3
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_Py_Void();
21666 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
= 0;
21668 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 PyObject
* obj2
= 0 ;
21680 char * kwnames
[] = {
21681 (char *) "self",(char *) "x",(char *) "y", NULL
21684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21686 if (!SWIG_IsOK(res1
)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21689 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21691 if (!SWIG_IsOK(ecode2
)) {
21692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21694 arg2
= static_cast< int >(val2
);
21695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21696 if (!SWIG_IsOK(ecode3
)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21699 arg3
= static_cast< int >(val3
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_Py_Void();
21713 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21714 PyObject
*resultobj
= 0;
21715 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21716 int *arg2
= (int *) 0 ;
21717 int *arg3
= (int *) 0 ;
21721 int res2
= SWIG_TMPOBJ
;
21723 int res3
= SWIG_TMPOBJ
;
21724 PyObject
*swig_obj
[1] ;
21728 if (!args
) SWIG_fail
;
21729 swig_obj
[0] = args
;
21730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21731 if (!SWIG_IsOK(res1
)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21734 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= SWIG_Py_Void();
21742 if (SWIG_IsTmpObj(res2
)) {
21743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21745 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21748 if (SWIG_IsTmpObj(res3
)) {
21749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21751 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21760 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21761 PyObject
*resultobj
= 0;
21762 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21763 int *arg2
= (int *) 0 ;
21764 int *arg3
= (int *) 0 ;
21768 int res2
= SWIG_TMPOBJ
;
21770 int res3
= SWIG_TMPOBJ
;
21771 PyObject
*swig_obj
[1] ;
21775 if (!args
) SWIG_fail
;
21776 swig_obj
[0] = args
;
21777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21778 if (!SWIG_IsOK(res1
)) {
21779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21781 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_Py_Void();
21789 if (SWIG_IsTmpObj(res2
)) {
21790 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21792 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21795 if (SWIG_IsTmpObj(res3
)) {
21796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21798 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21807 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21808 PyObject
*resultobj
= 0;
21809 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21810 int *arg2
= (int *) 0 ;
21811 int *arg3
= (int *) 0 ;
21815 int res2
= SWIG_TMPOBJ
;
21817 int res3
= SWIG_TMPOBJ
;
21818 PyObject
*swig_obj
[1] ;
21822 if (!args
) SWIG_fail
;
21823 swig_obj
[0] = args
;
21824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21825 if (!SWIG_IsOK(res1
)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21828 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_Py_Void();
21836 if (SWIG_IsTmpObj(res2
)) {
21837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21839 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21842 if (SWIG_IsTmpObj(res3
)) {
21843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21845 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21854 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21855 PyObject
*resultobj
= 0;
21856 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21860 PyObject
*swig_obj
[1] ;
21862 if (!args
) SWIG_fail
;
21863 swig_obj
[0] = args
;
21864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21865 if (!SWIG_IsOK(res1
)) {
21866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21868 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21882 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21883 PyObject
*resultobj
= 0;
21884 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21888 PyObject
*swig_obj
[1] ;
21890 if (!args
) SWIG_fail
;
21891 swig_obj
[0] = args
;
21892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21893 if (!SWIG_IsOK(res1
)) {
21894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21896 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21910 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21911 PyObject
*resultobj
= 0;
21912 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21913 SwigValueWrapper
<wxVisualAttributes
> result
;
21916 PyObject
*swig_obj
[1] ;
21918 if (!args
) SWIG_fail
;
21919 swig_obj
[0] = args
;
21920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21921 if (!SWIG_IsOK(res1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21924 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= (arg1
)->GetDefaultAttributes();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21938 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21943 PyObject
*swig_obj
[1] ;
21945 if (!args
) SWIG_fail
;
21946 swig_obj
[0] = args
;
21947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21951 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 (arg1
)->OnInternalIdle();
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= SWIG_Py_Void();
21965 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21969 return SWIG_Py_Void();
21972 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21973 return SWIG_Python_InitShadowInstance(args
);
21976 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
= 0;
21978 wxWindow
*arg1
= (wxWindow
*) 0 ;
21979 int arg2
= (int) (int)-1 ;
21980 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21981 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21982 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21983 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21984 long arg5
= (long) 0 ;
21985 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21986 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21987 wxPyPanel
*result
= 0 ;
21996 bool temp6
= false ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 PyObject
* obj2
= 0 ;
22000 PyObject
* obj3
= 0 ;
22001 PyObject
* obj4
= 0 ;
22002 PyObject
* obj5
= 0 ;
22003 char * kwnames
[] = {
22004 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22009 if (!SWIG_IsOK(res1
)) {
22010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22015 if (!SWIG_IsOK(ecode2
)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22018 arg2
= static_cast< int >(val2
);
22023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22033 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22034 if (!SWIG_IsOK(ecode5
)) {
22035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22037 arg5
= static_cast< long >(val5
);
22041 arg6
= wxString_in_helper(obj5
);
22042 if (arg6
== NULL
) SWIG_fail
;
22047 if (!wxPyCheckForApp()) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22068 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22069 PyObject
*resultobj
= 0;
22070 wxPyPanel
*result
= 0 ;
22072 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22074 if (!wxPyCheckForApp()) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (wxPyPanel
*)new wxPyPanel();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22087 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
= 0;
22089 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22090 PyObject
*arg2
= (PyObject
*) 0 ;
22091 PyObject
*arg3
= (PyObject
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 PyObject
* obj2
= 0 ;
22097 char * kwnames
[] = {
22098 (char *) "self",(char *) "self",(char *) "_class", NULL
22101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22103 if (!SWIG_IsOK(res1
)) {
22104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22106 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= SWIG_Py_Void();
22122 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
= 0;
22124 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 char * kwnames
[] = {
22132 (char *) "self",(char *) "size", NULL
22135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22137 if (!SWIG_IsOK(res1
)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22140 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22143 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= SWIG_Py_Void();
22158 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
= 0;
22160 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22161 wxDC
*arg2
= (wxDC
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char * kwnames
[] = {
22170 (char *) "self",(char *) "dc", NULL
22173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22175 if (!SWIG_IsOK(res1
)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22178 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22180 if (!SWIG_IsOK(res2
)) {
22181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22183 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22199 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
= 0;
22201 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 PyObject
* obj2
= 0 ;
22219 PyObject
* obj3
= 0 ;
22220 PyObject
* obj4
= 0 ;
22221 char * kwnames
[] = {
22222 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22230 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22232 if (!SWIG_IsOK(ecode2
)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22235 arg2
= static_cast< int >(val2
);
22236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22237 if (!SWIG_IsOK(ecode3
)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22240 arg3
= static_cast< int >(val3
);
22241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22242 if (!SWIG_IsOK(ecode4
)) {
22243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22245 arg4
= static_cast< int >(val4
);
22246 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22247 if (!SWIG_IsOK(ecode5
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22250 arg5
= static_cast< int >(val5
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_Py_Void();
22264 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
= 0;
22266 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22271 int arg6
= (int) wxSIZE_AUTO
;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 PyObject
* obj2
= 0 ;
22287 PyObject
* obj3
= 0 ;
22288 PyObject
* obj4
= 0 ;
22289 PyObject
* obj5
= 0 ;
22290 char * kwnames
[] = {
22291 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22296 if (!SWIG_IsOK(res1
)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22299 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22301 if (!SWIG_IsOK(ecode2
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22304 arg2
= static_cast< int >(val2
);
22305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22306 if (!SWIG_IsOK(ecode3
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22309 arg3
= static_cast< int >(val3
);
22310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22311 if (!SWIG_IsOK(ecode4
)) {
22312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22314 arg4
= static_cast< int >(val4
);
22315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22316 if (!SWIG_IsOK(ecode5
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22319 arg5
= static_cast< int >(val5
);
22321 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22322 if (!SWIG_IsOK(ecode6
)) {
22323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22325 arg6
= static_cast< int >(val6
);
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= SWIG_Py_Void();
22340 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
= 0;
22342 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 PyObject
* obj2
= 0 ;
22354 char * kwnames
[] = {
22355 (char *) "self",(char *) "width",(char *) "height", NULL
22358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22360 if (!SWIG_IsOK(res1
)) {
22361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22363 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22365 if (!SWIG_IsOK(ecode2
)) {
22366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22368 arg2
= static_cast< int >(val2
);
22369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22370 if (!SWIG_IsOK(ecode3
)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22373 arg3
= static_cast< int >(val3
);
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->DoSetClientSize(arg2
,arg3
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= SWIG_Py_Void();
22387 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
= 0;
22389 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 char * kwnames
[] = {
22402 (char *) "self",(char *) "x",(char *) "y", NULL
22405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22407 if (!SWIG_IsOK(res1
)) {
22408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22410 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22412 if (!SWIG_IsOK(ecode2
)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22415 arg2
= static_cast< int >(val2
);
22416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22417 if (!SWIG_IsOK(ecode3
)) {
22418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22420 arg3
= static_cast< int >(val3
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_Py_Void();
22434 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22437 int *arg2
= (int *) 0 ;
22438 int *arg3
= (int *) 0 ;
22442 int res2
= SWIG_TMPOBJ
;
22444 int res3
= SWIG_TMPOBJ
;
22445 PyObject
*swig_obj
[1] ;
22449 if (!args
) SWIG_fail
;
22450 swig_obj
[0] = args
;
22451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22455 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_Py_Void();
22463 if (SWIG_IsTmpObj(res2
)) {
22464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22466 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22469 if (SWIG_IsTmpObj(res3
)) {
22470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22472 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22481 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 PyObject
*resultobj
= 0;
22483 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22484 int *arg2
= (int *) 0 ;
22485 int *arg3
= (int *) 0 ;
22489 int res2
= SWIG_TMPOBJ
;
22491 int res3
= SWIG_TMPOBJ
;
22492 PyObject
*swig_obj
[1] ;
22496 if (!args
) SWIG_fail
;
22497 swig_obj
[0] = args
;
22498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22502 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_Py_Void();
22510 if (SWIG_IsTmpObj(res2
)) {
22511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22513 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22516 if (SWIG_IsTmpObj(res3
)) {
22517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22519 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22528 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22529 PyObject
*resultobj
= 0;
22530 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22531 int *arg2
= (int *) 0 ;
22532 int *arg3
= (int *) 0 ;
22536 int res2
= SWIG_TMPOBJ
;
22538 int res3
= SWIG_TMPOBJ
;
22539 PyObject
*swig_obj
[1] ;
22543 if (!args
) SWIG_fail
;
22544 swig_obj
[0] = args
;
22545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22546 if (!SWIG_IsOK(res1
)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22549 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= SWIG_Py_Void();
22557 if (SWIG_IsTmpObj(res2
)) {
22558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22560 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22563 if (SWIG_IsTmpObj(res3
)) {
22564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22566 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22575 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22576 PyObject
*resultobj
= 0;
22577 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22581 PyObject
*swig_obj
[1] ;
22583 if (!args
) SWIG_fail
;
22584 swig_obj
[0] = args
;
22585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22586 if (!SWIG_IsOK(res1
)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22589 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22603 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22604 PyObject
*resultobj
= 0;
22605 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22609 PyObject
*swig_obj
[1] ;
22611 if (!args
) SWIG_fail
;
22612 swig_obj
[0] = args
;
22613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22617 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22631 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22632 PyObject
*resultobj
= 0;
22633 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22634 SwigValueWrapper
<wxVisualAttributes
> result
;
22637 PyObject
*swig_obj
[1] ;
22639 if (!args
) SWIG_fail
;
22640 swig_obj
[0] = args
;
22641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22642 if (!SWIG_IsOK(res1
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22645 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (arg1
)->GetDefaultAttributes();
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22659 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22660 PyObject
*resultobj
= 0;
22661 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22664 PyObject
*swig_obj
[1] ;
22666 if (!args
) SWIG_fail
;
22667 swig_obj
[0] = args
;
22668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22672 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 (arg1
)->OnInternalIdle();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_Py_Void();
22686 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22690 return SWIG_Py_Void();
22693 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22694 return SWIG_Python_InitShadowInstance(args
);
22697 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= 0;
22699 wxWindow
*arg1
= (wxWindow
*) 0 ;
22700 int arg2
= (int) (int)-1 ;
22701 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22702 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22703 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22704 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22705 long arg5
= (long) 0 ;
22706 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22707 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22708 wxPyScrolledWindow
*result
= 0 ;
22717 bool temp6
= false ;
22718 PyObject
* obj0
= 0 ;
22719 PyObject
* obj1
= 0 ;
22720 PyObject
* obj2
= 0 ;
22721 PyObject
* obj3
= 0 ;
22722 PyObject
* obj4
= 0 ;
22723 PyObject
* obj5
= 0 ;
22724 char * kwnames
[] = {
22725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22730 if (!SWIG_IsOK(res1
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22733 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22736 if (!SWIG_IsOK(ecode2
)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22739 arg2
= static_cast< int >(val2
);
22744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22754 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22755 if (!SWIG_IsOK(ecode5
)) {
22756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22758 arg5
= static_cast< long >(val5
);
22762 arg6
= wxString_in_helper(obj5
);
22763 if (arg6
== NULL
) SWIG_fail
;
22768 if (!wxPyCheckForApp()) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22789 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22790 PyObject
*resultobj
= 0;
22791 wxPyScrolledWindow
*result
= 0 ;
22793 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22795 if (!wxPyCheckForApp()) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22808 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
= 0;
22810 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22811 PyObject
*arg2
= (PyObject
*) 0 ;
22812 PyObject
*arg3
= (PyObject
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 PyObject
* obj2
= 0 ;
22818 char * kwnames
[] = {
22819 (char *) "self",(char *) "self",(char *) "_class", NULL
22822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22824 if (!SWIG_IsOK(res1
)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22827 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_Py_Void();
22843 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char * kwnames
[] = {
22853 (char *) "self",(char *) "size", NULL
22856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22861 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= SWIG_Py_Void();
22879 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
= 0;
22881 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22882 wxDC
*arg2
= (wxDC
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 char * kwnames
[] = {
22891 (char *) "self",(char *) "dc", NULL
22894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22896 if (!SWIG_IsOK(res1
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22899 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22901 if (!SWIG_IsOK(res2
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22904 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22920 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 PyObject
* obj2
= 0 ;
22940 PyObject
* obj3
= 0 ;
22941 PyObject
* obj4
= 0 ;
22942 char * kwnames
[] = {
22943 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22948 if (!SWIG_IsOK(res1
)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22951 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22953 if (!SWIG_IsOK(ecode2
)) {
22954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22956 arg2
= static_cast< int >(val2
);
22957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22958 if (!SWIG_IsOK(ecode3
)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22961 arg3
= static_cast< int >(val3
);
22962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22963 if (!SWIG_IsOK(ecode4
)) {
22964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22966 arg4
= static_cast< int >(val4
);
22967 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22968 if (!SWIG_IsOK(ecode5
)) {
22969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22971 arg5
= static_cast< int >(val5
);
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_Py_Void();
22985 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
= 0;
22987 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22992 int arg6
= (int) wxSIZE_AUTO
;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 PyObject
* obj2
= 0 ;
23008 PyObject
* obj3
= 0 ;
23009 PyObject
* obj4
= 0 ;
23010 PyObject
* obj5
= 0 ;
23011 char * kwnames
[] = {
23012 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23017 if (!SWIG_IsOK(res1
)) {
23018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23020 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23022 if (!SWIG_IsOK(ecode2
)) {
23023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23025 arg2
= static_cast< int >(val2
);
23026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23027 if (!SWIG_IsOK(ecode3
)) {
23028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23030 arg3
= static_cast< int >(val3
);
23031 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23032 if (!SWIG_IsOK(ecode4
)) {
23033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23035 arg4
= static_cast< int >(val4
);
23036 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23037 if (!SWIG_IsOK(ecode5
)) {
23038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23040 arg5
= static_cast< int >(val5
);
23042 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23043 if (!SWIG_IsOK(ecode6
)) {
23044 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23046 arg6
= static_cast< int >(val6
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_Py_Void();
23061 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
= 0;
23063 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 PyObject
* obj2
= 0 ;
23075 char * kwnames
[] = {
23076 (char *) "self",(char *) "width",(char *) "height", NULL
23079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23081 if (!SWIG_IsOK(res1
)) {
23082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23084 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23086 if (!SWIG_IsOK(ecode2
)) {
23087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23089 arg2
= static_cast< int >(val2
);
23090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23091 if (!SWIG_IsOK(ecode3
)) {
23092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23094 arg3
= static_cast< int >(val3
);
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 (arg1
)->DoSetClientSize(arg2
,arg3
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_Py_Void();
23108 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
= 0;
23110 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23119 PyObject
* obj0
= 0 ;
23120 PyObject
* obj1
= 0 ;
23121 PyObject
* obj2
= 0 ;
23122 char * kwnames
[] = {
23123 (char *) "self",(char *) "x",(char *) "y", NULL
23126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23131 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23133 if (!SWIG_IsOK(ecode2
)) {
23134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23136 arg2
= static_cast< int >(val2
);
23137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23138 if (!SWIG_IsOK(ecode3
)) {
23139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23141 arg3
= static_cast< int >(val3
);
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_Py_Void();
23155 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23156 PyObject
*resultobj
= 0;
23157 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23158 int *arg2
= (int *) 0 ;
23159 int *arg3
= (int *) 0 ;
23163 int res2
= SWIG_TMPOBJ
;
23165 int res3
= SWIG_TMPOBJ
;
23166 PyObject
*swig_obj
[1] ;
23170 if (!args
) SWIG_fail
;
23171 swig_obj
[0] = args
;
23172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23176 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_Py_Void();
23184 if (SWIG_IsTmpObj(res2
)) {
23185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23187 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23190 if (SWIG_IsTmpObj(res3
)) {
23191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23193 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23202 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23203 PyObject
*resultobj
= 0;
23204 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23205 int *arg2
= (int *) 0 ;
23206 int *arg3
= (int *) 0 ;
23210 int res2
= SWIG_TMPOBJ
;
23212 int res3
= SWIG_TMPOBJ
;
23213 PyObject
*swig_obj
[1] ;
23217 if (!args
) SWIG_fail
;
23218 swig_obj
[0] = args
;
23219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23220 if (!SWIG_IsOK(res1
)) {
23221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23223 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_Py_Void();
23231 if (SWIG_IsTmpObj(res2
)) {
23232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23234 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23237 if (SWIG_IsTmpObj(res3
)) {
23238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23240 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23249 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23250 PyObject
*resultobj
= 0;
23251 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23252 int *arg2
= (int *) 0 ;
23253 int *arg3
= (int *) 0 ;
23257 int res2
= SWIG_TMPOBJ
;
23259 int res3
= SWIG_TMPOBJ
;
23260 PyObject
*swig_obj
[1] ;
23264 if (!args
) SWIG_fail
;
23265 swig_obj
[0] = args
;
23266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23267 if (!SWIG_IsOK(res1
)) {
23268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23270 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= SWIG_Py_Void();
23278 if (SWIG_IsTmpObj(res2
)) {
23279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23281 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23284 if (SWIG_IsTmpObj(res3
)) {
23285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23287 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23296 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23297 PyObject
*resultobj
= 0;
23298 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23302 PyObject
*swig_obj
[1] ;
23304 if (!args
) SWIG_fail
;
23305 swig_obj
[0] = args
;
23306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23307 if (!SWIG_IsOK(res1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23310 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23324 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23325 PyObject
*resultobj
= 0;
23326 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23330 PyObject
*swig_obj
[1] ;
23332 if (!args
) SWIG_fail
;
23333 swig_obj
[0] = args
;
23334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23335 if (!SWIG_IsOK(res1
)) {
23336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23338 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23352 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23353 PyObject
*resultobj
= 0;
23354 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23355 SwigValueWrapper
<wxVisualAttributes
> result
;
23358 PyObject
*swig_obj
[1] ;
23360 if (!args
) SWIG_fail
;
23361 swig_obj
[0] = args
;
23362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23363 if (!SWIG_IsOK(res1
)) {
23364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23366 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (arg1
)->GetDefaultAttributes();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23380 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23381 PyObject
*resultobj
= 0;
23382 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23385 PyObject
*swig_obj
[1] ;
23387 if (!args
) SWIG_fail
;
23388 swig_obj
[0] = args
;
23389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23393 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 (arg1
)->OnInternalIdle();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_Py_Void();
23407 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23411 return SWIG_Py_Void();
23414 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23415 return SWIG_Python_InitShadowInstance(args
);
23418 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23419 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23424 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23425 PyObject
*pyobj
= 0;
23429 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23431 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23438 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23439 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23444 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23445 PyObject
*pyobj
= 0;
23449 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23451 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23458 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23459 PyObject
*resultobj
= 0;
23460 wxPrintData
*result
= 0 ;
23462 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (wxPrintData
*)new wxPrintData();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23476 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23477 PyObject
*resultobj
= 0;
23478 wxPrintData
*arg1
= 0 ;
23479 wxPrintData
*result
= 0 ;
23483 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23485 if (!SWIG_IsOK(res1
)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23491 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23505 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23509 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23512 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23515 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23519 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23524 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23525 PyObject
*resultobj
= 0;
23526 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23529 PyObject
*swig_obj
[1] ;
23531 if (!args
) SWIG_fail
;
23532 swig_obj
[0] = args
;
23533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23534 if (!SWIG_IsOK(res1
)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23537 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= SWIG_Py_Void();
23552 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23553 PyObject
*resultobj
= 0;
23554 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23558 PyObject
*swig_obj
[1] ;
23560 if (!args
) SWIG_fail
;
23561 swig_obj
[0] = args
;
23562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23563 if (!SWIG_IsOK(res1
)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23566 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (int)(arg1
)->GetNoCopies();
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= SWIG_From_int(static_cast< int >(result
));
23580 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23581 PyObject
*resultobj
= 0;
23582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23586 PyObject
*swig_obj
[1] ;
23588 if (!args
) SWIG_fail
;
23589 swig_obj
[0] = args
;
23590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23594 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (bool)(arg1
)->GetCollate();
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23610 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23611 PyObject
*resultobj
= 0;
23612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23616 PyObject
*swig_obj
[1] ;
23618 if (!args
) SWIG_fail
;
23619 swig_obj
[0] = args
;
23620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23624 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= (int)(arg1
)->GetOrientation();
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= SWIG_From_int(static_cast< int >(result
));
23638 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23639 PyObject
*resultobj
= 0;
23640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23644 PyObject
*swig_obj
[1] ;
23646 if (!args
) SWIG_fail
;
23647 swig_obj
[0] = args
;
23648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23649 if (!SWIG_IsOK(res1
)) {
23650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23652 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (bool)(arg1
)->Ok();
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23668 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23669 PyObject
*resultobj
= 0;
23670 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23671 wxString
*result
= 0 ;
23674 PyObject
*swig_obj
[1] ;
23676 if (!args
) SWIG_fail
;
23677 swig_obj
[0] = args
;
23678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23679 if (!SWIG_IsOK(res1
)) {
23680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23682 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23687 result
= (wxString
*) &_result_ref
;
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23705 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 PyObject
*resultobj
= 0;
23707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23711 PyObject
*swig_obj
[1] ;
23713 if (!args
) SWIG_fail
;
23714 swig_obj
[0] = args
;
23715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23719 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)(arg1
)->GetColour();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 PyObject
*resultobj
= 0;
23737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23738 wxDuplexMode result
;
23741 PyObject
*swig_obj
[1] ;
23743 if (!args
) SWIG_fail
;
23744 swig_obj
[0] = args
;
23745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23749 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= SWIG_From_int(static_cast< int >(result
));
23763 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23764 PyObject
*resultobj
= 0;
23765 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23766 wxPaperSize result
;
23769 PyObject
*swig_obj
[1] ;
23771 if (!args
) SWIG_fail
;
23772 swig_obj
[0] = args
;
23773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23774 if (!SWIG_IsOK(res1
)) {
23775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23777 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_From_int(static_cast< int >(result
));
23791 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 PyObject
*resultobj
= 0;
23793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23794 wxSize
*result
= 0 ;
23797 PyObject
*swig_obj
[1] ;
23799 if (!args
) SWIG_fail
;
23800 swig_obj
[0] = args
;
23801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23802 if (!SWIG_IsOK(res1
)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23805 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23810 result
= (wxSize
*) &_result_ref
;
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23822 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23823 PyObject
*resultobj
= 0;
23824 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23828 PyObject
*swig_obj
[1] ;
23830 if (!args
) SWIG_fail
;
23831 swig_obj
[0] = args
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23836 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)(arg1
)->GetQuality();
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_From_int(static_cast< int >(result
));
23850 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23851 PyObject
*resultobj
= 0;
23852 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23856 PyObject
*swig_obj
[1] ;
23858 if (!args
) SWIG_fail
;
23859 swig_obj
[0] = args
;
23860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23864 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (wxPrintBin
)(arg1
)->GetBin();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_From_int(static_cast< int >(result
));
23878 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 PyObject
*resultobj
= 0;
23880 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23881 wxPrintMode result
;
23884 PyObject
*swig_obj
[1] ;
23886 if (!args
) SWIG_fail
;
23887 swig_obj
[0] = args
;
23888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23892 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_From_int(static_cast< int >(result
));
23906 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= 0;
23908 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 char * kwnames
[] = {
23917 (char *) "self",(char *) "v", NULL
23920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23922 if (!SWIG_IsOK(res1
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23925 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23927 if (!SWIG_IsOK(ecode2
)) {
23928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23930 arg2
= static_cast< int >(val2
);
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 (arg1
)->SetNoCopies(arg2
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= SWIG_Py_Void();
23944 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
= 0;
23946 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char * kwnames
[] = {
23955 (char *) "self",(char *) "flag", NULL
23958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23960 if (!SWIG_IsOK(res1
)) {
23961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23963 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23965 if (!SWIG_IsOK(ecode2
)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23968 arg2
= static_cast< bool >(val2
);
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 (arg1
)->SetCollate(arg2
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= SWIG_Py_Void();
23982 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
= 0;
23984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "self",(char *) "orient", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24001 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24003 if (!SWIG_IsOK(ecode2
)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24006 arg2
= static_cast< int >(val2
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 (arg1
)->SetOrientation(arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= SWIG_Py_Void();
24020 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
= 0;
24022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24023 wxString
*arg2
= 0 ;
24026 bool temp2
= false ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char * kwnames
[] = {
24030 (char *) "self",(char *) "name", NULL
24033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24035 if (!SWIG_IsOK(res1
)) {
24036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24038 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24040 arg2
= wxString_in_helper(obj1
);
24041 if (arg2
== NULL
) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_Py_Void();
24065 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
= 0;
24067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char * kwnames
[] = {
24076 (char *) "self",(char *) "colour", NULL
24079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24081 if (!SWIG_IsOK(res1
)) {
24082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24084 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24085 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24086 if (!SWIG_IsOK(ecode2
)) {
24087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24089 arg2
= static_cast< bool >(val2
);
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 (arg1
)->SetColour(arg2
);
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_Py_Void();
24103 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24106 wxDuplexMode arg2
;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 char * kwnames
[] = {
24114 (char *) "self",(char *) "duplex", NULL
24117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24119 if (!SWIG_IsOK(res1
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24122 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24124 if (!SWIG_IsOK(ecode2
)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24127 arg2
= static_cast< wxDuplexMode
>(val2
);
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 (arg1
)->SetDuplex(arg2
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= SWIG_Py_Void();
24141 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
= 0;
24143 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char * kwnames
[] = {
24152 (char *) "self",(char *) "sizeId", NULL
24155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24157 if (!SWIG_IsOK(res1
)) {
24158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24160 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24162 if (!SWIG_IsOK(ecode2
)) {
24163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24165 arg2
= static_cast< wxPaperSize
>(val2
);
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 (arg1
)->SetPaperId(arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_Py_Void();
24179 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
= 0;
24181 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 char * kwnames
[] = {
24189 (char *) "self",(char *) "sz", NULL
24192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24194 if (!SWIG_IsOK(res1
)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24197 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24200 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_Py_Void();
24215 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "self",(char *) "quality", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24234 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24236 if (!SWIG_IsOK(ecode2
)) {
24237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24239 arg2
= static_cast< int >(val2
);
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 (arg1
)->SetQuality(arg2
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_Py_Void();
24253 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
= 0;
24255 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 PyObject
* obj1
= 0 ;
24263 char * kwnames
[] = {
24264 (char *) "self",(char *) "bin", NULL
24267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24272 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24274 if (!SWIG_IsOK(ecode2
)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24277 arg2
= static_cast< wxPrintBin
>(val2
);
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->SetBin(arg2
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_Py_Void();
24291 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
= 0;
24293 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 char * kwnames
[] = {
24302 (char *) "self",(char *) "printMode", NULL
24305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24307 if (!SWIG_IsOK(res1
)) {
24308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24310 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24312 if (!SWIG_IsOK(ecode2
)) {
24313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24315 arg2
= static_cast< wxPrintMode
>(val2
);
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 (arg1
)->SetPrintMode(arg2
);
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24322 resultobj
= SWIG_Py_Void();
24329 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24330 PyObject
*resultobj
= 0;
24331 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24335 PyObject
*swig_obj
[1] ;
24337 if (!args
) SWIG_fail
;
24338 swig_obj
[0] = args
;
24339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24340 if (!SWIG_IsOK(res1
)) {
24341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24343 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24363 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
= 0;
24365 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24366 wxString
*arg2
= 0 ;
24369 bool temp2
= false ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char * kwnames
[] = {
24373 (char *) "self",(char *) "filename", NULL
24376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24378 if (!SWIG_IsOK(res1
)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24381 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24383 arg2
= wxString_in_helper(obj1
);
24384 if (arg2
== NULL
) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 (arg1
)->SetFilename((wxString
const &)*arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_Py_Void();
24408 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24409 PyObject
*resultobj
= 0;
24410 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24411 PyObject
*result
= 0 ;
24414 PyObject
*swig_obj
[1] ;
24416 if (!args
) SWIG_fail
;
24417 swig_obj
[0] = args
;
24418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24419 if (!SWIG_IsOK(res1
)) {
24420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24422 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= result
;
24436 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
= 0;
24438 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24439 PyObject
*arg2
= (PyObject
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char * kwnames
[] = {
24445 (char *) "self",(char *) "data", NULL
24448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24453 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 wxPrintData_SetPrivData(arg1
,arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= SWIG_Py_Void();
24468 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24472 return SWIG_Py_Void();
24475 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24476 return SWIG_Python_InitShadowInstance(args
);
24479 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24480 PyObject
*resultobj
= 0;
24481 wxPageSetupDialogData
*result
= 0 ;
24483 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24497 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24498 PyObject
*resultobj
= 0;
24499 wxPageSetupDialogData
*arg1
= 0 ;
24500 wxPageSetupDialogData
*result
= 0 ;
24504 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24506 if (!SWIG_IsOK(res1
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24512 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24526 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24527 PyObject
*resultobj
= 0;
24528 wxPrintData
*arg1
= 0 ;
24529 wxPageSetupDialogData
*result
= 0 ;
24533 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24541 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24555 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24559 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24562 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24567 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24568 _v
= SWIG_CheckState(res
);
24570 if (!_v
) goto check_2
;
24571 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24576 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24580 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24585 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24586 PyObject
*resultobj
= 0;
24587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24590 PyObject
*swig_obj
[1] ;
24592 if (!args
) SWIG_fail
;
24593 swig_obj
[0] = args
;
24594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24595 if (!SWIG_IsOK(res1
)) {
24596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24598 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= SWIG_Py_Void();
24613 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
= 0;
24615 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "flag", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24632 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24633 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24634 if (!SWIG_IsOK(ecode2
)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24637 arg2
= static_cast< bool >(val2
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 (arg1
)->EnableHelp(arg2
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= SWIG_Py_Void();
24651 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
= 0;
24653 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "self",(char *) "flag", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24670 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24671 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24672 if (!SWIG_IsOK(ecode2
)) {
24673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24675 arg2
= static_cast< bool >(val2
);
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 (arg1
)->EnableMargins(arg2
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= SWIG_Py_Void();
24689 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
= 0;
24691 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 char * kwnames
[] = {
24700 (char *) "self",(char *) "flag", NULL
24703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24708 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24709 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24710 if (!SWIG_IsOK(ecode2
)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24713 arg2
= static_cast< bool >(val2
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->EnableOrientation(arg2
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_Py_Void();
24727 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
= 0;
24729 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 PyObject
* obj1
= 0 ;
24737 char * kwnames
[] = {
24738 (char *) "self",(char *) "flag", NULL
24741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24743 if (!SWIG_IsOK(res1
)) {
24744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24746 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24747 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24748 if (!SWIG_IsOK(ecode2
)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24751 arg2
= static_cast< bool >(val2
);
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 (arg1
)->EnablePaper(arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_Py_Void();
24765 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
= 0;
24767 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24773 PyObject
* obj0
= 0 ;
24774 PyObject
* obj1
= 0 ;
24775 char * kwnames
[] = {
24776 (char *) "self",(char *) "flag", NULL
24779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24781 if (!SWIG_IsOK(res1
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24784 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24786 if (!SWIG_IsOK(ecode2
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24789 arg2
= static_cast< bool >(val2
);
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->EnablePrinter(arg2
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_Py_Void();
24803 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24804 PyObject
*resultobj
= 0;
24805 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24809 PyObject
*swig_obj
[1] ;
24811 if (!args
) SWIG_fail
;
24812 swig_obj
[0] = args
;
24813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24814 if (!SWIG_IsOK(res1
)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24817 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (bool)(arg1
)->GetDefaultMinMargins();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24833 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24834 PyObject
*resultobj
= 0;
24835 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24839 PyObject
*swig_obj
[1] ;
24841 if (!args
) SWIG_fail
;
24842 swig_obj
[0] = args
;
24843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24844 if (!SWIG_IsOK(res1
)) {
24845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24847 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (bool)(arg1
)->GetEnableMargins();
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24863 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24864 PyObject
*resultobj
= 0;
24865 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24869 PyObject
*swig_obj
[1] ;
24871 if (!args
) SWIG_fail
;
24872 swig_obj
[0] = args
;
24873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24874 if (!SWIG_IsOK(res1
)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24877 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= (bool)(arg1
)->GetEnableOrientation();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24893 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24894 PyObject
*resultobj
= 0;
24895 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24899 PyObject
*swig_obj
[1] ;
24901 if (!args
) SWIG_fail
;
24902 swig_obj
[0] = args
;
24903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24904 if (!SWIG_IsOK(res1
)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24907 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 result
= (bool)(arg1
)->GetEnablePaper();
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24923 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24924 PyObject
*resultobj
= 0;
24925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24929 PyObject
*swig_obj
[1] ;
24931 if (!args
) SWIG_fail
;
24932 swig_obj
[0] = args
;
24933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24934 if (!SWIG_IsOK(res1
)) {
24935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24937 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (bool)(arg1
)->GetEnablePrinter();
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24953 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 PyObject
*resultobj
= 0;
24955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24959 PyObject
*swig_obj
[1] ;
24961 if (!args
) SWIG_fail
;
24962 swig_obj
[0] = args
;
24963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24967 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (bool)(arg1
)->GetEnableHelp();
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24983 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24984 PyObject
*resultobj
= 0;
24985 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24989 PyObject
*swig_obj
[1] ;
24991 if (!args
) SWIG_fail
;
24992 swig_obj
[0] = args
;
24993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24997 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (bool)(arg1
)->GetDefaultInfo();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25013 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25014 PyObject
*resultobj
= 0;
25015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25019 PyObject
*swig_obj
[1] ;
25021 if (!args
) SWIG_fail
;
25022 swig_obj
[0] = args
;
25023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25024 if (!SWIG_IsOK(res1
)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25027 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= (arg1
)->GetMarginTopLeft();
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25041 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25042 PyObject
*resultobj
= 0;
25043 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25047 PyObject
*swig_obj
[1] ;
25049 if (!args
) SWIG_fail
;
25050 swig_obj
[0] = args
;
25051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25055 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (arg1
)->GetMarginBottomRight();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25069 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25070 PyObject
*resultobj
= 0;
25071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25075 PyObject
*swig_obj
[1] ;
25077 if (!args
) SWIG_fail
;
25078 swig_obj
[0] = args
;
25079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25080 if (!SWIG_IsOK(res1
)) {
25081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25083 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (arg1
)->GetMinMarginTopLeft();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25097 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25098 PyObject
*resultobj
= 0;
25099 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25103 PyObject
*swig_obj
[1] ;
25105 if (!args
) SWIG_fail
;
25106 swig_obj
[0] = args
;
25107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25111 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 result
= (arg1
)->GetMinMarginBottomRight();
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25125 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25126 PyObject
*resultobj
= 0;
25127 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25128 wxPaperSize result
;
25131 PyObject
*swig_obj
[1] ;
25133 if (!args
) SWIG_fail
;
25134 swig_obj
[0] = args
;
25135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25136 if (!SWIG_IsOK(res1
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25139 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= SWIG_From_int(static_cast< int >(result
));
25153 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25154 PyObject
*resultobj
= 0;
25155 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25159 PyObject
*swig_obj
[1] ;
25161 if (!args
) SWIG_fail
;
25162 swig_obj
[0] = args
;
25163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25167 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (arg1
)->GetPaperSize();
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25181 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25182 PyObject
*resultobj
= 0;
25183 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25184 wxPrintData
*result
= 0 ;
25187 PyObject
*swig_obj
[1] ;
25189 if (!args
) SWIG_fail
;
25190 swig_obj
[0] = args
;
25191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25192 if (!SWIG_IsOK(res1
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25195 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25200 result
= (wxPrintData
*) &_result_ref
;
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25212 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25213 PyObject
*resultobj
= 0;
25214 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25218 PyObject
*swig_obj
[1] ;
25220 if (!args
) SWIG_fail
;
25221 swig_obj
[0] = args
;
25222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25223 if (!SWIG_IsOK(res1
)) {
25224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25226 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 result
= (bool)(arg1
)->Ok();
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25242 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
= 0;
25244 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 char * kwnames
[] = {
25253 (char *) "self",(char *) "flag", NULL
25256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25258 if (!SWIG_IsOK(res1
)) {
25259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25261 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25262 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25263 if (!SWIG_IsOK(ecode2
)) {
25264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25266 arg2
= static_cast< bool >(val2
);
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->SetDefaultInfo(arg2
);
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= SWIG_Py_Void();
25280 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
= 0;
25282 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 char * kwnames
[] = {
25291 (char *) "self",(char *) "flag", NULL
25294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25299 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25300 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25301 if (!SWIG_IsOK(ecode2
)) {
25302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25304 arg2
= static_cast< bool >(val2
);
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 (arg1
)->SetDefaultMinMargins(arg2
);
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= SWIG_Py_Void();
25318 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
= 0;
25320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25321 wxPoint
*arg2
= 0 ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char * kwnames
[] = {
25328 (char *) "self",(char *) "pt", NULL
25331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25336 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_Py_Void();
25354 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
= 0;
25356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25357 wxPoint
*arg2
= 0 ;
25361 PyObject
* obj0
= 0 ;
25362 PyObject
* obj1
= 0 ;
25363 char * kwnames
[] = {
25364 (char *) "self",(char *) "pt", NULL
25367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25372 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_Py_Void();
25390 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
= 0;
25392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25393 wxPoint
*arg2
= 0 ;
25397 PyObject
* obj0
= 0 ;
25398 PyObject
* obj1
= 0 ;
25399 char * kwnames
[] = {
25400 (char *) "self",(char *) "pt", NULL
25403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25405 if (!SWIG_IsOK(res1
)) {
25406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25408 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25419 resultobj
= SWIG_Py_Void();
25426 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25427 PyObject
*resultobj
= 0;
25428 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25429 wxPoint
*arg2
= 0 ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 char * kwnames
[] = {
25436 (char *) "self",(char *) "pt", NULL
25439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25444 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25447 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= SWIG_Py_Void();
25462 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
= 0;
25464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25470 PyObject
* obj0
= 0 ;
25471 PyObject
* obj1
= 0 ;
25472 char * kwnames
[] = {
25473 (char *) "self",(char *) "id", NULL
25476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25478 if (!SWIG_IsOK(res1
)) {
25479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25481 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25483 if (!SWIG_IsOK(ecode2
)) {
25484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25486 arg2
= static_cast< wxPaperSize
>(val2
);
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 (arg1
)->SetPaperId(arg2
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_Py_Void();
25500 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
= 0;
25502 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 char * kwnames
[] = {
25510 (char *) "self",(char *) "size", NULL
25513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25515 if (!SWIG_IsOK(res1
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25518 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25521 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_Py_Void();
25536 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
= 0;
25538 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25539 wxPrintData
*arg2
= 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "self",(char *) "printData", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25555 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25557 if (!SWIG_IsOK(res2
)) {
25558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25563 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= SWIG_Py_Void();
25577 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25578 PyObject
*resultobj
= 0;
25579 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25582 PyObject
*swig_obj
[1] ;
25584 if (!args
) SWIG_fail
;
25585 swig_obj
[0] = args
;
25586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25587 if (!SWIG_IsOK(res1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25590 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 (arg1
)->CalculateIdFromPaperSize();
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_Py_Void();
25604 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25605 PyObject
*resultobj
= 0;
25606 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25609 PyObject
*swig_obj
[1] ;
25611 if (!args
) SWIG_fail
;
25612 swig_obj
[0] = args
;
25613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25617 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 (arg1
)->CalculatePaperSizeFromId();
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_Py_Void();
25631 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25635 return SWIG_Py_Void();
25638 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25639 return SWIG_Python_InitShadowInstance(args
);
25642 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
= 0;
25644 wxWindow
*arg1
= (wxWindow
*) 0 ;
25645 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25646 wxPageSetupDialog
*result
= 0 ;
25651 PyObject
* obj0
= 0 ;
25652 PyObject
* obj1
= 0 ;
25653 char * kwnames
[] = {
25654 (char *) "parent",(char *) "data", NULL
25657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25659 if (!SWIG_IsOK(res1
)) {
25660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25662 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25665 if (!SWIG_IsOK(res2
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25668 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25671 if (!wxPyCheckForApp()) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25684 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 PyObject
*resultobj
= 0;
25686 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25687 wxPageSetupDialogData
*result
= 0 ;
25690 PyObject
*swig_obj
[1] ;
25692 if (!args
) SWIG_fail
;
25693 swig_obj
[0] = args
;
25694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25695 if (!SWIG_IsOK(res1
)) {
25696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25698 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25703 result
= (wxPageSetupDialogData
*) &_result_ref
;
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25715 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25716 PyObject
*resultobj
= 0;
25717 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25718 wxPageSetupDialogData
*result
= 0 ;
25721 PyObject
*swig_obj
[1] ;
25723 if (!args
) SWIG_fail
;
25724 swig_obj
[0] = args
;
25725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25726 if (!SWIG_IsOK(res1
)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25729 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25734 result
= (wxPageSetupDialogData
*) &_result_ref
;
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25746 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25747 PyObject
*resultobj
= 0;
25748 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25752 PyObject
*swig_obj
[1] ;
25754 if (!args
) SWIG_fail
;
25755 swig_obj
[0] = args
;
25756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25757 if (!SWIG_IsOK(res1
)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25760 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 result
= (int)(arg1
)->ShowModal();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_From_int(static_cast< int >(result
));
25774 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25777 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25778 return SWIG_Py_Void();
25781 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25782 return SWIG_Python_InitShadowInstance(args
);
25785 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25786 PyObject
*resultobj
= 0;
25787 wxPrintDialogData
*result
= 0 ;
25789 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25803 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25804 PyObject
*resultobj
= 0;
25805 wxPrintData
*arg1
= 0 ;
25806 wxPrintDialogData
*result
= 0 ;
25810 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25818 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25832 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25833 PyObject
*resultobj
= 0;
25834 wxPrintDialogData
*arg1
= 0 ;
25835 wxPrintDialogData
*result
= 0 ;
25839 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25841 if (!SWIG_IsOK(res1
)) {
25842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25847 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25861 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25868 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25873 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25874 _v
= SWIG_CheckState(res
);
25876 if (!_v
) goto check_2
;
25877 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25882 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25886 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25891 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25892 PyObject
*resultobj
= 0;
25893 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25896 PyObject
*swig_obj
[1] ;
25898 if (!args
) SWIG_fail
;
25899 swig_obj
[0] = args
;
25900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25901 if (!SWIG_IsOK(res1
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25904 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_Py_Void();
25919 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25920 PyObject
*resultobj
= 0;
25921 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25925 PyObject
*swig_obj
[1] ;
25927 if (!args
) SWIG_fail
;
25928 swig_obj
[0] = args
;
25929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25930 if (!SWIG_IsOK(res1
)) {
25931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25933 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= SWIG_From_int(static_cast< int >(result
));
25947 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25948 PyObject
*resultobj
= 0;
25949 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25953 PyObject
*swig_obj
[1] ;
25955 if (!args
) SWIG_fail
;
25956 swig_obj
[0] = args
;
25957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25958 if (!SWIG_IsOK(res1
)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25961 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= SWIG_From_int(static_cast< int >(result
));
25975 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 PyObject
*resultobj
= 0;
25977 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25981 PyObject
*swig_obj
[1] ;
25983 if (!args
) SWIG_fail
;
25984 swig_obj
[0] = args
;
25985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25986 if (!SWIG_IsOK(res1
)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25989 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_From_int(static_cast< int >(result
));
26003 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26004 PyObject
*resultobj
= 0;
26005 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26009 PyObject
*swig_obj
[1] ;
26011 if (!args
) SWIG_fail
;
26012 swig_obj
[0] = args
;
26013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26014 if (!SWIG_IsOK(res1
)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26017 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_From_int(static_cast< int >(result
));
26031 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26032 PyObject
*resultobj
= 0;
26033 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26037 PyObject
*swig_obj
[1] ;
26039 if (!args
) SWIG_fail
;
26040 swig_obj
[0] = args
;
26041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26045 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_From_int(static_cast< int >(result
));
26059 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26060 PyObject
*resultobj
= 0;
26061 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26065 PyObject
*swig_obj
[1] ;
26067 if (!args
) SWIG_fail
;
26068 swig_obj
[0] = args
;
26069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26073 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26089 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 PyObject
*resultobj
= 0;
26091 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26095 PyObject
*swig_obj
[1] ;
26097 if (!args
) SWIG_fail
;
26098 swig_obj
[0] = args
;
26099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26103 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26119 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26120 PyObject
*resultobj
= 0;
26121 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26125 PyObject
*swig_obj
[1] ;
26127 if (!args
) SWIG_fail
;
26128 swig_obj
[0] = args
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26133 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26149 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26150 PyObject
*resultobj
= 0;
26151 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26155 PyObject
*swig_obj
[1] ;
26157 if (!args
) SWIG_fail
;
26158 swig_obj
[0] = args
;
26159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26160 if (!SWIG_IsOK(res1
)) {
26161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26163 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26179 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
= 0;
26181 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char * kwnames
[] = {
26190 (char *) "self",(char *) "v", NULL
26193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26195 if (!SWIG_IsOK(res1
)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26198 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26200 if (!SWIG_IsOK(ecode2
)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26203 arg2
= static_cast< int >(val2
);
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 (arg1
)->SetFromPage(arg2
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_Py_Void();
26217 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
= 0;
26219 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char * kwnames
[] = {
26228 (char *) "self",(char *) "v", NULL
26231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26233 if (!SWIG_IsOK(res1
)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26236 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26238 if (!SWIG_IsOK(ecode2
)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26241 arg2
= static_cast< int >(val2
);
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 (arg1
)->SetToPage(arg2
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_Py_Void();
26255 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
= 0;
26257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 char * kwnames
[] = {
26266 (char *) "self",(char *) "v", NULL
26269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26274 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26276 if (!SWIG_IsOK(ecode2
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26279 arg2
= static_cast< int >(val2
);
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetMinPage(arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
= 0;
26295 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char * kwnames
[] = {
26304 (char *) "self",(char *) "v", NULL
26307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26312 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26314 if (!SWIG_IsOK(ecode2
)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26317 arg2
= static_cast< int >(val2
);
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetMaxPage(arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
= 0;
26333 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 char * kwnames
[] = {
26342 (char *) "self",(char *) "v", NULL
26345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26347 if (!SWIG_IsOK(res1
)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26350 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26352 if (!SWIG_IsOK(ecode2
)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26355 arg2
= static_cast< int >(val2
);
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->SetNoCopies(arg2
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26369 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
= 0;
26371 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 PyObject
* obj1
= 0 ;
26379 char * kwnames
[] = {
26380 (char *) "self",(char *) "flag", NULL
26383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26385 if (!SWIG_IsOK(res1
)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26388 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26390 if (!SWIG_IsOK(ecode2
)) {
26391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26393 arg2
= static_cast< bool >(val2
);
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 (arg1
)->SetAllPages(arg2
);
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_Py_Void();
26407 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
= 0;
26409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char * kwnames
[] = {
26418 (char *) "self",(char *) "flag", NULL
26421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26423 if (!SWIG_IsOK(res1
)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26426 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26427 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26428 if (!SWIG_IsOK(ecode2
)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26431 arg2
= static_cast< bool >(val2
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 (arg1
)->SetSelection(arg2
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_Py_Void();
26445 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
= 0;
26447 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 char * kwnames
[] = {
26456 (char *) "self",(char *) "flag", NULL
26459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26464 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26465 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26466 if (!SWIG_IsOK(ecode2
)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26469 arg2
= static_cast< bool >(val2
);
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->SetCollate(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_Py_Void();
26483 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
= 0;
26485 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char * kwnames
[] = {
26494 (char *) "self",(char *) "flag", NULL
26497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26499 if (!SWIG_IsOK(res1
)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26502 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26503 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26504 if (!SWIG_IsOK(ecode2
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26507 arg2
= static_cast< bool >(val2
);
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->SetPrintToFile(arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_Py_Void();
26521 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
= 0;
26523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char * kwnames
[] = {
26532 (char *) "self",(char *) "flag", NULL
26535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26540 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26541 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26542 if (!SWIG_IsOK(ecode2
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26545 arg2
= static_cast< bool >(val2
);
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->EnablePrintToFile(arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_Py_Void();
26559 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
= 0;
26561 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 char * kwnames
[] = {
26570 (char *) "self",(char *) "flag", NULL
26573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26578 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26580 if (!SWIG_IsOK(ecode2
)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26583 arg2
= static_cast< bool >(val2
);
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->EnableSelection(arg2
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_Py_Void();
26597 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
= 0;
26599 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char * kwnames
[] = {
26608 (char *) "self",(char *) "flag", NULL
26611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26616 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26618 if (!SWIG_IsOK(ecode2
)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26621 arg2
= static_cast< bool >(val2
);
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 (arg1
)->EnablePageNumbers(arg2
);
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= SWIG_Py_Void();
26635 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26636 PyObject
*resultobj
= 0;
26637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 char * kwnames
[] = {
26646 (char *) "self",(char *) "flag", NULL
26649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26651 if (!SWIG_IsOK(res1
)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26654 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26655 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26656 if (!SWIG_IsOK(ecode2
)) {
26657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26659 arg2
= static_cast< bool >(val2
);
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 (arg1
)->EnableHelp(arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_Py_Void();
26673 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26674 PyObject
*resultobj
= 0;
26675 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26679 PyObject
*swig_obj
[1] ;
26681 if (!args
) SWIG_fail
;
26682 swig_obj
[0] = args
;
26683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26684 if (!SWIG_IsOK(res1
)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26687 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26703 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26704 PyObject
*resultobj
= 0;
26705 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26709 PyObject
*swig_obj
[1] ;
26711 if (!args
) SWIG_fail
;
26712 swig_obj
[0] = args
;
26713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26714 if (!SWIG_IsOK(res1
)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26717 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26733 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26739 PyObject
*swig_obj
[1] ;
26741 if (!args
) SWIG_fail
;
26742 swig_obj
[0] = args
;
26743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26747 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26763 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26764 PyObject
*resultobj
= 0;
26765 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26769 PyObject
*swig_obj
[1] ;
26771 if (!args
) SWIG_fail
;
26772 swig_obj
[0] = args
;
26773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26777 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26793 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26794 PyObject
*resultobj
= 0;
26795 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26799 PyObject
*swig_obj
[1] ;
26801 if (!args
) SWIG_fail
;
26802 swig_obj
[0] = args
;
26803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26807 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26823 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26824 PyObject
*resultobj
= 0;
26825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26826 wxPrintData
*result
= 0 ;
26829 PyObject
*swig_obj
[1] ;
26831 if (!args
) SWIG_fail
;
26832 swig_obj
[0] = args
;
26833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26834 if (!SWIG_IsOK(res1
)) {
26835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26837 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26842 result
= (wxPrintData
*) &_result_ref
;
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26854 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
= 0;
26856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26857 wxPrintData
*arg2
= 0 ;
26862 PyObject
* obj0
= 0 ;
26863 PyObject
* obj1
= 0 ;
26864 char * kwnames
[] = {
26865 (char *) "self",(char *) "printData", NULL
26868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26870 if (!SWIG_IsOK(res1
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26873 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26875 if (!SWIG_IsOK(res2
)) {
26876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26881 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= SWIG_Py_Void();
26895 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26899 return SWIG_Py_Void();
26902 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 return SWIG_Python_InitShadowInstance(args
);
26906 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
= 0;
26908 wxWindow
*arg1
= (wxWindow
*) 0 ;
26909 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26910 wxPrintDialog
*result
= 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 char * kwnames
[] = {
26918 (char *) "parent",(char *) "data", NULL
26921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26923 if (!SWIG_IsOK(res1
)) {
26924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26928 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26929 if (!SWIG_IsOK(res2
)) {
26930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26932 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26935 if (!wxPyCheckForApp()) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26948 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26949 PyObject
*resultobj
= 0;
26950 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26954 PyObject
*swig_obj
[1] ;
26956 if (!args
) SWIG_fail
;
26957 swig_obj
[0] = args
;
26958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26959 if (!SWIG_IsOK(res1
)) {
26960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26962 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (int)(arg1
)->ShowModal();
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_From_int(static_cast< int >(result
));
26976 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26977 PyObject
*resultobj
= 0;
26978 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26979 wxPrintDialogData
*result
= 0 ;
26982 PyObject
*swig_obj
[1] ;
26984 if (!args
) SWIG_fail
;
26985 swig_obj
[0] = args
;
26986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26987 if (!SWIG_IsOK(res1
)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26990 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26995 result
= (wxPrintDialogData
*) &_result_ref
;
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27007 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27008 PyObject
*resultobj
= 0;
27009 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27010 wxPrintData
*result
= 0 ;
27013 PyObject
*swig_obj
[1] ;
27015 if (!args
) SWIG_fail
;
27016 swig_obj
[0] = args
;
27017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27018 if (!SWIG_IsOK(res1
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27021 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27026 result
= (wxPrintData
*) &_result_ref
;
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27038 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27039 PyObject
*resultobj
= 0;
27040 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27044 PyObject
*swig_obj
[1] ;
27046 if (!args
) SWIG_fail
;
27047 swig_obj
[0] = args
;
27048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27052 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (wxDC
*)(arg1
)->GetPrintDC();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27068 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27071 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27072 return SWIG_Py_Void();
27075 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27076 return SWIG_Python_InitShadowInstance(args
);
27079 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
= 0;
27081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27082 wxPrinter
*result
= 0 ;
27085 PyObject
* obj0
= 0 ;
27086 char * kwnames
[] = {
27087 (char *) "data", NULL
27090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27093 if (!SWIG_IsOK(res1
)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27096 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27099 if (!wxPyCheckForApp()) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (wxPrinter
*)new wxPrinter(arg1
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27112 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27113 PyObject
*resultobj
= 0;
27114 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27117 PyObject
*swig_obj
[1] ;
27119 if (!args
) SWIG_fail
;
27120 swig_obj
[0] = args
;
27121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27122 if (!SWIG_IsOK(res1
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27125 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_Py_Void();
27140 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
= 0;
27142 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27143 wxWindow
*arg2
= (wxWindow
*) 0 ;
27144 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27145 wxWindow
*result
= 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 PyObject
* obj2
= 0 ;
27155 char * kwnames
[] = {
27156 (char *) "self",(char *) "parent",(char *) "printout", NULL
27159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27161 if (!SWIG_IsOK(res1
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27164 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27166 if (!SWIG_IsOK(res2
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27170 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27171 if (!SWIG_IsOK(res3
)) {
27172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27174 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27182 resultobj
= wxPyMake_wxObject(result
, 0);
27190 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
= 0;
27192 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27193 wxWindow
*arg2
= (wxWindow
*) 0 ;
27194 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27195 wxString
*arg4
= 0 ;
27202 bool temp4
= false ;
27203 PyObject
* obj0
= 0 ;
27204 PyObject
* obj1
= 0 ;
27205 PyObject
* obj2
= 0 ;
27206 PyObject
* obj3
= 0 ;
27207 char * kwnames
[] = {
27208 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27213 if (!SWIG_IsOK(res1
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27216 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27218 if (!SWIG_IsOK(res2
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27222 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27223 if (!SWIG_IsOK(res3
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27226 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27228 arg4
= wxString_in_helper(obj3
);
27229 if (arg4
== NULL
) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= SWIG_Py_Void();
27253 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
= 0;
27255 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27256 wxWindow
*arg2
= (wxWindow
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 char * kwnames
[] = {
27265 (char *) "self",(char *) "parent", NULL
27268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27270 if (!SWIG_IsOK(res1
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27273 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27275 if (!SWIG_IsOK(res2
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 result
= (bool)(arg1
)->Setup(arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27294 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
= 0;
27296 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27297 wxWindow
*arg2
= (wxWindow
*) 0 ;
27298 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27299 bool arg4
= (bool) true ;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 PyObject
* obj2
= 0 ;
27312 PyObject
* obj3
= 0 ;
27313 char * kwnames
[] = {
27314 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27322 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27324 if (!SWIG_IsOK(res2
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27327 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27328 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27329 if (!SWIG_IsOK(res3
)) {
27330 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27332 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27334 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27335 if (!SWIG_IsOK(ecode4
)) {
27336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27338 arg4
= static_cast< bool >(val4
);
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27355 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
= 0;
27357 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27358 wxWindow
*arg2
= (wxWindow
*) 0 ;
27364 PyObject
* obj0
= 0 ;
27365 PyObject
* obj1
= 0 ;
27366 char * kwnames
[] = {
27367 (char *) "self",(char *) "parent", NULL
27370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27372 if (!SWIG_IsOK(res1
)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27375 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27377 if (!SWIG_IsOK(res2
)) {
27378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27380 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27396 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27397 PyObject
*resultobj
= 0;
27398 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27399 wxPrintDialogData
*result
= 0 ;
27402 PyObject
*swig_obj
[1] ;
27404 if (!args
) SWIG_fail
;
27405 swig_obj
[0] = args
;
27406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27410 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27415 result
= (wxPrintDialogData
*) &_result_ref
;
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27427 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27428 PyObject
*resultobj
= 0;
27429 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27433 PyObject
*swig_obj
[1] ;
27435 if (!args
) SWIG_fail
;
27436 swig_obj
[0] = args
;
27437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27441 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (bool)(arg1
)->GetAbort();
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27457 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27458 PyObject
*resultobj
= 0;
27459 wxPrinterError result
;
27461 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 result
= (wxPrinterError
)wxPrinter::GetLastError();
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_From_int(static_cast< int >(result
));
27475 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27479 return SWIG_Py_Void();
27482 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27483 return SWIG_Python_InitShadowInstance(args
);
27486 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
= 0;
27488 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27489 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27490 wxPyPrintout
*result
= 0 ;
27491 bool temp1
= false ;
27492 PyObject
* obj0
= 0 ;
27493 char * kwnames
[] = {
27494 (char *) "title", NULL
27497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27500 arg1
= wxString_in_helper(obj0
);
27501 if (arg1
== NULL
) SWIG_fail
;
27506 if (!wxPyCheckForApp()) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27527 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 PyObject
*resultobj
= 0;
27529 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27532 PyObject
*swig_obj
[1] ;
27534 if (!args
) SWIG_fail
;
27535 swig_obj
[0] = args
;
27536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27540 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= SWIG_Py_Void();
27555 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
= 0;
27557 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27558 PyObject
*arg2
= (PyObject
*) 0 ;
27559 PyObject
*arg3
= (PyObject
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 PyObject
* obj2
= 0 ;
27565 char * kwnames
[] = {
27566 (char *) "self",(char *) "self",(char *) "_class", NULL
27569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27571 if (!SWIG_IsOK(res1
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27574 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= SWIG_Py_Void();
27590 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27591 PyObject
*resultobj
= 0;
27592 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27596 PyObject
*swig_obj
[1] ;
27598 if (!args
) SWIG_fail
;
27599 swig_obj
[0] = args
;
27600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27601 if (!SWIG_IsOK(res1
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27604 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27624 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27625 PyObject
*resultobj
= 0;
27626 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27630 PyObject
*swig_obj
[1] ;
27632 if (!args
) SWIG_fail
;
27633 swig_obj
[0] = args
;
27634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27635 if (!SWIG_IsOK(res1
)) {
27636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27638 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27641 result
= (wxDC
*)(arg1
)->GetDC();
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27654 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
= 0;
27656 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27657 wxDC
*arg2
= (wxDC
*) 0 ;
27662 PyObject
* obj0
= 0 ;
27663 PyObject
* obj1
= 0 ;
27664 char * kwnames
[] = {
27665 (char *) "self",(char *) "dc", NULL
27668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27670 if (!SWIG_IsOK(res1
)) {
27671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27673 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27675 if (!SWIG_IsOK(res2
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27678 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 (arg1
)->SetDC(arg2
);
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= SWIG_Py_Void();
27692 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
= 0;
27694 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 PyObject
* obj2
= 0 ;
27706 char * kwnames
[] = {
27707 (char *) "self",(char *) "w",(char *) "h", NULL
27710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27712 if (!SWIG_IsOK(res1
)) {
27713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27715 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27717 if (!SWIG_IsOK(ecode2
)) {
27718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27720 arg2
= static_cast< int >(val2
);
27721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27722 if (!SWIG_IsOK(ecode3
)) {
27723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27725 arg3
= static_cast< int >(val3
);
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= SWIG_Py_Void();
27739 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27740 PyObject
*resultobj
= 0;
27741 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27742 int *arg2
= (int *) 0 ;
27743 int *arg3
= (int *) 0 ;
27747 int res2
= SWIG_TMPOBJ
;
27749 int res3
= SWIG_TMPOBJ
;
27750 PyObject
*swig_obj
[1] ;
27754 if (!args
) SWIG_fail
;
27755 swig_obj
[0] = args
;
27756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27760 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_Py_Void();
27768 if (SWIG_IsTmpObj(res2
)) {
27769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27771 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27774 if (SWIG_IsTmpObj(res3
)) {
27775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27777 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27786 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
= 0;
27788 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 PyObject
* obj1
= 0 ;
27799 PyObject
* obj2
= 0 ;
27800 char * kwnames
[] = {
27801 (char *) "self",(char *) "w",(char *) "h", NULL
27804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27806 if (!SWIG_IsOK(res1
)) {
27807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27809 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27811 if (!SWIG_IsOK(ecode2
)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27814 arg2
= static_cast< int >(val2
);
27815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27816 if (!SWIG_IsOK(ecode3
)) {
27817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27819 arg3
= static_cast< int >(val3
);
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_Py_Void();
27833 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27834 PyObject
*resultobj
= 0;
27835 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27836 int *arg2
= (int *) 0 ;
27837 int *arg3
= (int *) 0 ;
27841 int res2
= SWIG_TMPOBJ
;
27843 int res3
= SWIG_TMPOBJ
;
27844 PyObject
*swig_obj
[1] ;
27848 if (!args
) SWIG_fail
;
27849 swig_obj
[0] = args
;
27850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27854 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_Py_Void();
27862 if (SWIG_IsTmpObj(res2
)) {
27863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27865 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27868 if (SWIG_IsTmpObj(res3
)) {
27869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27871 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27880 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
= 0;
27882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 PyObject
* obj2
= 0 ;
27894 char * kwnames
[] = {
27895 (char *) "self",(char *) "x",(char *) "y", NULL
27898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27903 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27905 if (!SWIG_IsOK(ecode2
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27908 arg2
= static_cast< int >(val2
);
27909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27910 if (!SWIG_IsOK(ecode3
)) {
27911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27913 arg3
= static_cast< int >(val3
);
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 (arg1
)->SetPPIScreen(arg2
,arg3
);
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= SWIG_Py_Void();
27927 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27928 PyObject
*resultobj
= 0;
27929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27930 int *arg2
= (int *) 0 ;
27931 int *arg3
= (int *) 0 ;
27935 int res2
= SWIG_TMPOBJ
;
27937 int res3
= SWIG_TMPOBJ
;
27938 PyObject
*swig_obj
[1] ;
27942 if (!args
) SWIG_fail
;
27943 swig_obj
[0] = args
;
27944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27948 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->GetPPIScreen(arg2
,arg3
);
27952 wxPyEndAllowThreads(__tstate
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27955 resultobj
= SWIG_Py_Void();
27956 if (SWIG_IsTmpObj(res2
)) {
27957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27959 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27962 if (SWIG_IsTmpObj(res3
)) {
27963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27965 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27974 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
= 0;
27976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 PyObject
* obj2
= 0 ;
27988 char * kwnames
[] = {
27989 (char *) "self",(char *) "x",(char *) "y", NULL
27992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27994 if (!SWIG_IsOK(res1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27997 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27999 if (!SWIG_IsOK(ecode2
)) {
28000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28002 arg2
= static_cast< int >(val2
);
28003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28004 if (!SWIG_IsOK(ecode3
)) {
28005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28007 arg3
= static_cast< int >(val3
);
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28024 int *arg2
= (int *) 0 ;
28025 int *arg3
= (int *) 0 ;
28029 int res2
= SWIG_TMPOBJ
;
28031 int res3
= SWIG_TMPOBJ
;
28032 PyObject
*swig_obj
[1] ;
28036 if (!args
) SWIG_fail
;
28037 swig_obj
[0] = args
;
28038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28039 if (!SWIG_IsOK(res1
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28042 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_Py_Void();
28050 if (SWIG_IsTmpObj(res2
)) {
28051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28053 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28056 if (SWIG_IsTmpObj(res3
)) {
28057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28059 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28068 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28069 PyObject
*resultobj
= 0;
28070 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28074 PyObject
*swig_obj
[1] ;
28076 if (!args
) SWIG_fail
;
28077 swig_obj
[0] = args
;
28078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28082 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (bool)(arg1
)->IsPreview();
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28098 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
= 0;
28100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 PyObject
* obj1
= 0 ;
28108 char * kwnames
[] = {
28109 (char *) "self",(char *) "p", NULL
28112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28117 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28118 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28119 if (!SWIG_IsOK(ecode2
)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28122 arg2
= static_cast< bool >(val2
);
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 (arg1
)->SetIsPreview(arg2
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_Py_Void();
28136 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
= 0;
28138 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 PyObject
* obj1
= 0 ;
28150 PyObject
* obj2
= 0 ;
28151 char * kwnames
[] = {
28152 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28160 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28162 if (!SWIG_IsOK(ecode2
)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28165 arg2
= static_cast< int >(val2
);
28166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28167 if (!SWIG_IsOK(ecode3
)) {
28168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28170 arg3
= static_cast< int >(val3
);
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28186 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28187 PyObject
*resultobj
= 0;
28188 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28191 PyObject
*swig_obj
[1] ;
28193 if (!args
) SWIG_fail
;
28194 swig_obj
[0] = args
;
28195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28199 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 (arg1
)->OnEndDocument();
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= SWIG_Py_Void();
28213 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28214 PyObject
*resultobj
= 0;
28215 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28218 PyObject
*swig_obj
[1] ;
28220 if (!args
) SWIG_fail
;
28221 swig_obj
[0] = args
;
28222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28223 if (!SWIG_IsOK(res1
)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28226 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 (arg1
)->OnBeginPrinting();
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_Py_Void();
28240 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28241 PyObject
*resultobj
= 0;
28242 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28245 PyObject
*swig_obj
[1] ;
28247 if (!args
) SWIG_fail
;
28248 swig_obj
[0] = args
;
28249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28253 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28256 (arg1
)->OnEndPrinting();
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= SWIG_Py_Void();
28267 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 PyObject
*resultobj
= 0;
28269 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28272 PyObject
*swig_obj
[1] ;
28274 if (!args
) SWIG_fail
;
28275 swig_obj
[0] = args
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28280 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 (arg1
)->OnPreparePrinting();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_Py_Void();
28294 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
= 0;
28296 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 char * kwnames
[] = {
28306 (char *) "self",(char *) "page", NULL
28309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28314 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28316 if (!SWIG_IsOK(ecode2
)) {
28317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28319 arg2
= static_cast< int >(val2
);
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 result
= (bool)(arg1
)->HasPage(arg2
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28335 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28336 PyObject
*resultobj
= 0;
28337 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28338 int *arg2
= (int *) 0 ;
28339 int *arg3
= (int *) 0 ;
28340 int *arg4
= (int *) 0 ;
28341 int *arg5
= (int *) 0 ;
28345 int res2
= SWIG_TMPOBJ
;
28347 int res3
= SWIG_TMPOBJ
;
28349 int res4
= SWIG_TMPOBJ
;
28351 int res5
= SWIG_TMPOBJ
;
28352 PyObject
*swig_obj
[1] ;
28358 if (!args
) SWIG_fail
;
28359 swig_obj
[0] = args
;
28360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28361 if (!SWIG_IsOK(res1
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28364 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= SWIG_Py_Void();
28372 if (SWIG_IsTmpObj(res2
)) {
28373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28375 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28378 if (SWIG_IsTmpObj(res3
)) {
28379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28381 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28384 if (SWIG_IsTmpObj(res4
)) {
28385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28387 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28390 if (SWIG_IsTmpObj(res5
)) {
28391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28393 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28402 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28405 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28406 return SWIG_Py_Void();
28409 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 return SWIG_Python_InitShadowInstance(args
);
28413 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
= 0;
28415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28416 wxWindow
*arg2
= (wxWindow
*) 0 ;
28417 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28418 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28419 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28420 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28421 long arg5
= (long) 0 ;
28422 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28423 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28424 wxPreviewCanvas
*result
= 0 ;
28433 bool temp6
= false ;
28434 PyObject
* obj0
= 0 ;
28435 PyObject
* obj1
= 0 ;
28436 PyObject
* obj2
= 0 ;
28437 PyObject
* obj3
= 0 ;
28438 PyObject
* obj4
= 0 ;
28439 PyObject
* obj5
= 0 ;
28440 char * kwnames
[] = {
28441 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28446 if (!SWIG_IsOK(res1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28449 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28451 if (!SWIG_IsOK(res2
)) {
28452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28458 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28464 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28468 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28469 if (!SWIG_IsOK(ecode5
)) {
28470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28472 arg5
= static_cast< long >(val5
);
28476 arg6
= wxString_in_helper(obj5
);
28477 if (arg6
== NULL
) SWIG_fail
;
28482 if (!wxPyCheckForApp()) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28503 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28506 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28507 return SWIG_Py_Void();
28510 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28511 return SWIG_Python_InitShadowInstance(args
);
28514 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28515 PyObject
*resultobj
= 0;
28516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28517 wxFrame
*arg2
= (wxFrame
*) 0 ;
28518 wxString
*arg3
= 0 ;
28519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28523 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28524 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28525 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28526 wxPreviewFrame
*result
= 0 ;
28530 bool temp3
= false ;
28535 bool temp7
= false ;
28536 PyObject
* obj0
= 0 ;
28537 PyObject
* obj1
= 0 ;
28538 PyObject
* obj2
= 0 ;
28539 PyObject
* obj3
= 0 ;
28540 PyObject
* obj4
= 0 ;
28541 PyObject
* obj5
= 0 ;
28542 PyObject
* obj6
= 0 ;
28543 char * kwnames
[] = {
28544 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28548 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28549 if (!SWIG_IsOK(res1
)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28553 if (!SWIG_IsOK(res2
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28556 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28558 arg3
= wxString_in_helper(obj2
);
28559 if (arg3
== NULL
) SWIG_fail
;
28565 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28571 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28575 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28576 if (!SWIG_IsOK(ecode6
)) {
28577 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28579 arg6
= static_cast< long >(val6
);
28583 arg7
= wxString_in_helper(obj6
);
28584 if (arg7
== NULL
) SWIG_fail
;
28589 if (!wxPyCheckForApp()) SWIG_fail
;
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28618 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28619 PyObject
*resultobj
= 0;
28620 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28623 PyObject
*swig_obj
[1] ;
28625 if (!args
) SWIG_fail
;
28626 swig_obj
[0] = args
;
28627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28628 if (!SWIG_IsOK(res1
)) {
28629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28631 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 (arg1
)->Initialize();
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= SWIG_Py_Void();
28645 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28646 PyObject
*resultobj
= 0;
28647 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28650 PyObject
*swig_obj
[1] ;
28652 if (!args
) SWIG_fail
;
28653 swig_obj
[0] = args
;
28654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28658 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 (arg1
)->CreateControlBar();
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= SWIG_Py_Void();
28672 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28673 PyObject
*resultobj
= 0;
28674 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28677 PyObject
*swig_obj
[1] ;
28679 if (!args
) SWIG_fail
;
28680 swig_obj
[0] = args
;
28681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28682 if (!SWIG_IsOK(res1
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28685 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 (arg1
)->CreateCanvas();
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= SWIG_Py_Void();
28699 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28700 PyObject
*resultobj
= 0;
28701 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28702 wxPreviewControlBar
*result
= 0 ;
28705 PyObject
*swig_obj
[1] ;
28707 if (!args
) SWIG_fail
;
28708 swig_obj
[0] = args
;
28709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28710 if (!SWIG_IsOK(res1
)) {
28711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28713 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28727 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28730 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28731 return SWIG_Py_Void();
28734 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28735 return SWIG_Python_InitShadowInstance(args
);
28738 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
= 0;
28740 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28742 wxWindow
*arg3
= (wxWindow
*) 0 ;
28743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28747 long arg6
= (long) wxTAB_TRAVERSAL
;
28748 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28749 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28750 wxPreviewControlBar
*result
= 0 ;
28761 bool temp7
= false ;
28762 PyObject
* obj0
= 0 ;
28763 PyObject
* obj1
= 0 ;
28764 PyObject
* obj2
= 0 ;
28765 PyObject
* obj3
= 0 ;
28766 PyObject
* obj4
= 0 ;
28767 PyObject
* obj5
= 0 ;
28768 PyObject
* obj6
= 0 ;
28769 char * kwnames
[] = {
28770 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28775 if (!SWIG_IsOK(res1
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28778 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28779 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28780 if (!SWIG_IsOK(ecode2
)) {
28781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28783 arg2
= static_cast< long >(val2
);
28784 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28785 if (!SWIG_IsOK(res3
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28788 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28802 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28803 if (!SWIG_IsOK(ecode6
)) {
28804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28806 arg6
= static_cast< long >(val6
);
28810 arg7
= wxString_in_helper(obj6
);
28811 if (arg7
== NULL
) SWIG_fail
;
28816 if (!wxPyCheckForApp()) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28837 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28838 PyObject
*resultobj
= 0;
28839 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28843 PyObject
*swig_obj
[1] ;
28845 if (!args
) SWIG_fail
;
28846 swig_obj
[0] = args
;
28847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28848 if (!SWIG_IsOK(res1
)) {
28849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28851 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= (int)(arg1
)->GetZoomControl();
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= SWIG_From_int(static_cast< int >(result
));
28865 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
= 0;
28867 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 char * kwnames
[] = {
28876 (char *) "self",(char *) "zoom", NULL
28879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28884 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28886 if (!SWIG_IsOK(ecode2
)) {
28887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28889 arg2
= static_cast< int >(val2
);
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 (arg1
)->SetZoomControl(arg2
);
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_Py_Void();
28903 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28904 PyObject
*resultobj
= 0;
28905 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28906 wxPrintPreview
*result
= 0 ;
28909 PyObject
*swig_obj
[1] ;
28911 if (!args
) SWIG_fail
;
28912 swig_obj
[0] = args
;
28913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28914 if (!SWIG_IsOK(res1
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28917 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28931 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28932 PyObject
*resultobj
= 0;
28933 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28936 PyObject
*swig_obj
[1] ;
28938 if (!args
) SWIG_fail
;
28939 swig_obj
[0] = args
;
28940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28944 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= SWIG_Py_Void();
28958 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28959 PyObject
*resultobj
= 0;
28960 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28963 PyObject
*swig_obj
[1] ;
28965 if (!args
) SWIG_fail
;
28966 swig_obj
[0] = args
;
28967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28968 if (!SWIG_IsOK(res1
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28971 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 (arg1
)->OnPrevious();
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_Py_Void();
28985 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28986 PyObject
*resultobj
= 0;
28987 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28990 PyObject
*swig_obj
[1] ;
28992 if (!args
) SWIG_fail
;
28993 swig_obj
[0] = args
;
28994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28995 if (!SWIG_IsOK(res1
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28998 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 wxPyEndAllowThreads(__tstate
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_Py_Void();
29012 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29013 PyObject
*resultobj
= 0;
29014 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29017 PyObject
*swig_obj
[1] ;
29019 if (!args
) SWIG_fail
;
29020 swig_obj
[0] = args
;
29021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29022 if (!SWIG_IsOK(res1
)) {
29023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29025 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_Py_Void();
29039 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29040 PyObject
*resultobj
= 0;
29041 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29044 PyObject
*swig_obj
[1] ;
29046 if (!args
) SWIG_fail
;
29047 swig_obj
[0] = args
;
29048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29049 if (!SWIG_IsOK(res1
)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29052 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_Py_Void();
29066 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29069 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29070 return SWIG_Py_Void();
29073 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29074 return SWIG_Python_InitShadowInstance(args
);
29077 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29078 PyObject
*resultobj
= 0;
29079 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29080 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29081 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29082 wxPrintPreview
*result
= 0 ;
29088 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29089 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29090 if (!SWIG_IsOK(res1
)) {
29091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29093 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29094 if (!SWIG_IsOK(res2
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29098 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29099 if (!SWIG_IsOK(res3
)) {
29100 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29102 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29105 if (!wxPyCheckForApp()) SWIG_fail
;
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29107 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29108 wxPyEndAllowThreads(__tstate
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29118 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29119 PyObject
*resultobj
= 0;
29120 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29121 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29122 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29123 wxPrintPreview
*result
= 0 ;
29129 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29130 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29131 if (!SWIG_IsOK(res1
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29134 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29135 if (!SWIG_IsOK(res2
)) {
29136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29138 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29139 if (!SWIG_IsOK(res3
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29142 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29144 if (!wxPyCheckForApp()) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29157 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29161 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29163 if ((argc
>= 2) && (argc
<= 3)) {
29168 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29169 _v
= SWIG_CheckState(res
);
29171 if (!_v
) goto check_1
;
29173 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29178 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29182 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29187 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29188 PyObject
*resultobj
= 0;
29189 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29192 PyObject
*swig_obj
[1] ;
29194 if (!args
) SWIG_fail
;
29195 swig_obj
[0] = args
;
29196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29197 if (!SWIG_IsOK(res1
)) {
29198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29200 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= SWIG_Py_Void();
29215 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
= 0;
29217 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 char * kwnames
[] = {
29227 (char *) "self",(char *) "pageNum", NULL
29230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29235 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29237 if (!SWIG_IsOK(ecode2
)) {
29238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29240 arg2
= static_cast< int >(val2
);
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29256 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29257 PyObject
*resultobj
= 0;
29258 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29262 PyObject
*swig_obj
[1] ;
29264 if (!args
) SWIG_fail
;
29265 swig_obj
[0] = args
;
29266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29267 if (!SWIG_IsOK(res1
)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29270 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (int)(arg1
)->GetCurrentPage();
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= SWIG_From_int(static_cast< int >(result
));
29284 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
= 0;
29286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29287 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 char * kwnames
[] = {
29294 (char *) "self",(char *) "printout", NULL
29297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29299 if (!SWIG_IsOK(res1
)) {
29300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29302 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29303 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29304 if (!SWIG_IsOK(res2
)) {
29305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 (arg1
)->SetPrintout(arg2
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= SWIG_Py_Void();
29320 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29321 PyObject
*resultobj
= 0;
29322 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29323 wxPyPrintout
*result
= 0 ;
29326 PyObject
*swig_obj
[1] ;
29328 if (!args
) SWIG_fail
;
29329 swig_obj
[0] = args
;
29330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29331 if (!SWIG_IsOK(res1
)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29334 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= wxPyMake_wxObject(result
, 0);
29350 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29351 PyObject
*resultobj
= 0;
29352 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29353 wxPyPrintout
*result
= 0 ;
29356 PyObject
*swig_obj
[1] ;
29358 if (!args
) SWIG_fail
;
29359 swig_obj
[0] = args
;
29360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29364 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= wxPyMake_wxObject(result
, 0);
29380 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
= 0;
29382 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29383 wxFrame
*arg2
= (wxFrame
*) 0 ;
29388 PyObject
* obj0
= 0 ;
29389 PyObject
* obj1
= 0 ;
29390 char * kwnames
[] = {
29391 (char *) "self",(char *) "frame", NULL
29394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29399 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29401 if (!SWIG_IsOK(res2
)) {
29402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29404 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 (arg1
)->SetFrame(arg2
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29411 resultobj
= SWIG_Py_Void();
29418 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
= 0;
29420 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29421 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29426 PyObject
* obj0
= 0 ;
29427 PyObject
* obj1
= 0 ;
29428 char * kwnames
[] = {
29429 (char *) "self",(char *) "canvas", NULL
29432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29434 if (!SWIG_IsOK(res1
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29437 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29439 if (!SWIG_IsOK(res2
)) {
29440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29442 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 (arg1
)->SetCanvas(arg2
);
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= SWIG_Py_Void();
29456 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29457 PyObject
*resultobj
= 0;
29458 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29459 wxFrame
*result
= 0 ;
29462 PyObject
*swig_obj
[1] ;
29464 if (!args
) SWIG_fail
;
29465 swig_obj
[0] = args
;
29466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29470 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 result
= (wxFrame
*)(arg1
)->GetFrame();
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29478 resultobj
= wxPyMake_wxObject(result
, 0);
29486 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29487 PyObject
*resultobj
= 0;
29488 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29489 wxPreviewCanvas
*result
= 0 ;
29492 PyObject
*swig_obj
[1] ;
29494 if (!args
) SWIG_fail
;
29495 swig_obj
[0] = args
;
29496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29497 if (!SWIG_IsOK(res1
)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29500 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29514 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
= 0;
29516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29517 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29526 PyObject
* obj0
= 0 ;
29527 PyObject
* obj1
= 0 ;
29528 PyObject
* obj2
= 0 ;
29529 char * kwnames
[] = {
29530 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29538 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29540 if (!SWIG_IsOK(res2
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29543 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29544 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29545 if (!SWIG_IsOK(res3
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29551 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29567 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29568 PyObject
*resultobj
= 0;
29569 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29570 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29579 PyObject
* obj0
= 0 ;
29580 PyObject
* obj1
= 0 ;
29581 PyObject
* obj2
= 0 ;
29582 char * kwnames
[] = {
29583 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29588 if (!SWIG_IsOK(res1
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29591 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29593 if (!SWIG_IsOK(res2
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29596 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29597 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29598 if (!SWIG_IsOK(res3
)) {
29599 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29604 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29620 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 char * kwnames
[] = {
29632 (char *) "self",(char *) "pageNum", NULL
29635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29637 if (!SWIG_IsOK(res1
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29640 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29642 if (!SWIG_IsOK(ecode2
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29645 arg2
= static_cast< int >(val2
);
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= (bool)(arg1
)->RenderPage(arg2
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29661 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
= 0;
29663 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29664 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 char * kwnames
[] = {
29672 (char *) "self",(char *) "canvas", NULL
29675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29677 if (!SWIG_IsOK(res1
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29680 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29682 if (!SWIG_IsOK(res2
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29685 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 (arg1
)->AdjustScrollbars(arg2
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29692 resultobj
= SWIG_Py_Void();
29699 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29700 PyObject
*resultobj
= 0;
29701 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29702 wxPrintDialogData
*result
= 0 ;
29705 PyObject
*swig_obj
[1] ;
29707 if (!args
) SWIG_fail
;
29708 swig_obj
[0] = args
;
29709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29710 if (!SWIG_IsOK(res1
)) {
29711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29713 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29718 result
= (wxPrintDialogData
*) &_result_ref
;
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29730 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
= 0;
29732 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char * kwnames
[] = {
29741 (char *) "self",(char *) "percent", NULL
29744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29746 if (!SWIG_IsOK(res1
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29749 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29751 if (!SWIG_IsOK(ecode2
)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29754 arg2
= static_cast< int >(val2
);
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 (arg1
)->SetZoom(arg2
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= SWIG_Py_Void();
29768 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29769 PyObject
*resultobj
= 0;
29770 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29774 PyObject
*swig_obj
[1] ;
29776 if (!args
) SWIG_fail
;
29777 swig_obj
[0] = args
;
29778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29779 if (!SWIG_IsOK(res1
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29782 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (int)(arg1
)->GetZoom();
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_From_int(static_cast< int >(result
));
29796 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29797 PyObject
*resultobj
= 0;
29798 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29802 PyObject
*swig_obj
[1] ;
29804 if (!args
) SWIG_fail
;
29805 swig_obj
[0] = args
;
29806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29807 if (!SWIG_IsOK(res1
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29810 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 result
= (int)(arg1
)->GetMaxPage();
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= SWIG_From_int(static_cast< int >(result
));
29824 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29825 PyObject
*resultobj
= 0;
29826 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29830 PyObject
*swig_obj
[1] ;
29832 if (!args
) SWIG_fail
;
29833 swig_obj
[0] = args
;
29834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29835 if (!SWIG_IsOK(res1
)) {
29836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29838 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 result
= (int)(arg1
)->GetMinPage();
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= SWIG_From_int(static_cast< int >(result
));
29852 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29853 PyObject
*resultobj
= 0;
29854 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29858 PyObject
*swig_obj
[1] ;
29860 if (!args
) SWIG_fail
;
29861 swig_obj
[0] = args
;
29862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29866 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 result
= (bool)(arg1
)->Ok();
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29882 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
= 0;
29884 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 char * kwnames
[] = {
29893 (char *) "self",(char *) "ok", NULL
29896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29898 if (!SWIG_IsOK(res1
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29901 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29902 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29903 if (!SWIG_IsOK(ecode2
)) {
29904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29906 arg2
= static_cast< bool >(val2
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 (arg1
)->SetOk(arg2
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= SWIG_Py_Void();
29920 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
= 0;
29922 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 char * kwnames
[] = {
29932 (char *) "self",(char *) "interactive", NULL
29935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29940 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29942 if (!SWIG_IsOK(ecode2
)) {
29943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29945 arg2
= static_cast< bool >(val2
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= (bool)(arg1
)->Print(arg2
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29961 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29962 PyObject
*resultobj
= 0;
29963 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29966 PyObject
*swig_obj
[1] ;
29968 if (!args
) SWIG_fail
;
29969 swig_obj
[0] = args
;
29970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29971 if (!SWIG_IsOK(res1
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29974 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 (arg1
)->DetermineScaling();
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29981 resultobj
= SWIG_Py_Void();
29988 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29992 return SWIG_Py_Void();
29995 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29996 return SWIG_Python_InitShadowInstance(args
);
29999 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30000 PyObject
*resultobj
= 0;
30001 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30002 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30003 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30004 wxPyPrintPreview
*result
= 0 ;
30010 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30015 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30016 if (!SWIG_IsOK(res2
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30020 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30021 if (!SWIG_IsOK(res3
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30024 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30027 if (!wxPyCheckForApp()) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30040 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30041 PyObject
*resultobj
= 0;
30042 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30043 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30044 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30045 wxPyPrintPreview
*result
= 0 ;
30051 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30052 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30056 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30057 if (!SWIG_IsOK(res2
)) {
30058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30060 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30061 if (!SWIG_IsOK(res3
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30064 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30066 if (!wxPyCheckForApp()) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30079 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30083 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30085 if ((argc
>= 2) && (argc
<= 3)) {
30090 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30091 _v
= SWIG_CheckState(res
);
30093 if (!_v
) goto check_1
;
30095 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30100 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30104 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30109 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= 0;
30111 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30112 PyObject
*arg2
= (PyObject
*) 0 ;
30113 PyObject
*arg3
= (PyObject
*) 0 ;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 PyObject
* obj2
= 0 ;
30119 char * kwnames
[] = {
30120 (char *) "self",(char *) "self",(char *) "_class", NULL
30123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30125 if (!SWIG_IsOK(res1
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30128 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= SWIG_Py_Void();
30144 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30147 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30148 return SWIG_Py_Void();
30151 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30152 return SWIG_Python_InitShadowInstance(args
);
30155 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
= 0;
30157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30158 wxFrame
*arg2
= (wxFrame
*) 0 ;
30159 wxString
*arg3
= 0 ;
30160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30164 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30165 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30166 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30167 wxPyPreviewFrame
*result
= 0 ;
30172 bool temp3
= false ;
30177 bool temp7
= false ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 PyObject
* obj2
= 0 ;
30181 PyObject
* obj3
= 0 ;
30182 PyObject
* obj4
= 0 ;
30183 PyObject
* obj5
= 0 ;
30184 PyObject
* obj6
= 0 ;
30185 char * kwnames
[] = {
30186 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30191 if (!SWIG_IsOK(res1
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30194 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30196 if (!SWIG_IsOK(res2
)) {
30197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30199 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30201 arg3
= wxString_in_helper(obj2
);
30202 if (arg3
== NULL
) SWIG_fail
;
30208 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30214 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30218 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30219 if (!SWIG_IsOK(ecode6
)) {
30220 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30222 arg6
= static_cast< long >(val6
);
30226 arg7
= wxString_in_helper(obj6
);
30227 if (arg7
== NULL
) SWIG_fail
;
30232 if (!wxPyCheckForApp()) SWIG_fail
;
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30261 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30262 PyObject
*resultobj
= 0;
30263 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30264 PyObject
*arg2
= (PyObject
*) 0 ;
30265 PyObject
*arg3
= (PyObject
*) 0 ;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 PyObject
* obj2
= 0 ;
30271 char * kwnames
[] = {
30272 (char *) "self",(char *) "self",(char *) "_class", NULL
30275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30277 if (!SWIG_IsOK(res1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30280 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= SWIG_Py_Void();
30296 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
= 0;
30298 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30299 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30304 PyObject
* obj0
= 0 ;
30305 PyObject
* obj1
= 0 ;
30306 char * kwnames
[] = {
30307 (char *) "self",(char *) "canvas", NULL
30310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30312 if (!SWIG_IsOK(res1
)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30315 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30317 if (!SWIG_IsOK(res2
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30320 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 (arg1
)->SetPreviewCanvas(arg2
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_Py_Void();
30334 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
= 0;
30336 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30337 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 char * kwnames
[] = {
30345 (char *) "self",(char *) "bar", NULL
30348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30350 if (!SWIG_IsOK(res1
)) {
30351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30353 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30355 if (!SWIG_IsOK(res2
)) {
30356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30358 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 (arg1
)->SetControlBar(arg2
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= SWIG_Py_Void();
30372 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30373 PyObject
*resultobj
= 0;
30374 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30377 PyObject
*swig_obj
[1] ;
30379 if (!args
) SWIG_fail
;
30380 swig_obj
[0] = args
;
30381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30385 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->Initialize();
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= SWIG_Py_Void();
30399 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30400 PyObject
*resultobj
= 0;
30401 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30404 PyObject
*swig_obj
[1] ;
30406 if (!args
) SWIG_fail
;
30407 swig_obj
[0] = args
;
30408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30409 if (!SWIG_IsOK(res1
)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30412 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30415 (arg1
)->CreateCanvas();
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30419 resultobj
= SWIG_Py_Void();
30426 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30427 PyObject
*resultobj
= 0;
30428 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30431 PyObject
*swig_obj
[1] ;
30433 if (!args
) SWIG_fail
;
30434 swig_obj
[0] = args
;
30435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30436 if (!SWIG_IsOK(res1
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30439 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 (arg1
)->CreateControlBar();
30443 wxPyEndAllowThreads(__tstate
);
30444 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= SWIG_Py_Void();
30453 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30456 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30457 return SWIG_Py_Void();
30460 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30461 return SWIG_Python_InitShadowInstance(args
);
30464 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
= 0;
30466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30468 wxWindow
*arg3
= (wxWindow
*) 0 ;
30469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30473 long arg6
= (long) 0 ;
30474 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30476 wxPyPreviewControlBar
*result
= 0 ;
30487 bool temp7
= false ;
30488 PyObject
* obj0
= 0 ;
30489 PyObject
* obj1
= 0 ;
30490 PyObject
* obj2
= 0 ;
30491 PyObject
* obj3
= 0 ;
30492 PyObject
* obj4
= 0 ;
30493 PyObject
* obj5
= 0 ;
30494 PyObject
* obj6
= 0 ;
30495 char * kwnames
[] = {
30496 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30501 if (!SWIG_IsOK(res1
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30504 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30505 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30506 if (!SWIG_IsOK(ecode2
)) {
30507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30509 arg2
= static_cast< long >(val2
);
30510 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30511 if (!SWIG_IsOK(res3
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30514 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30529 if (!SWIG_IsOK(ecode6
)) {
30530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30532 arg6
= static_cast< long >(val6
);
30536 arg7
= wxString_in_helper(obj6
);
30537 if (arg7
== NULL
) SWIG_fail
;
30542 if (!wxPyCheckForApp()) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30563 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
= 0;
30565 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30566 PyObject
*arg2
= (PyObject
*) 0 ;
30567 PyObject
*arg3
= (PyObject
*) 0 ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 PyObject
* obj2
= 0 ;
30573 char * kwnames
[] = {
30574 (char *) "self",(char *) "self",(char *) "_class", NULL
30577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30579 if (!SWIG_IsOK(res1
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30582 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 resultobj
= SWIG_Py_Void();
30598 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
= 0;
30600 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30601 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 PyObject
* obj1
= 0 ;
30608 char * kwnames
[] = {
30609 (char *) "self",(char *) "preview", NULL
30612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30614 if (!SWIG_IsOK(res1
)) {
30615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30617 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30619 if (!SWIG_IsOK(res2
)) {
30620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30622 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 (arg1
)->SetPrintPreview(arg2
);
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= SWIG_Py_Void();
30636 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30637 PyObject
*resultobj
= 0;
30638 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30641 PyObject
*swig_obj
[1] ;
30643 if (!args
) SWIG_fail
;
30644 swig_obj
[0] = args
;
30645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30646 if (!SWIG_IsOK(res1
)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30649 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 (arg1
)->CreateButtons();
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= SWIG_Py_Void();
30663 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
= 0;
30665 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 char * kwnames
[] = {
30674 (char *) "self",(char *) "zoom", NULL
30677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30679 if (!SWIG_IsOK(res1
)) {
30680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30682 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30684 if (!SWIG_IsOK(ecode2
)) {
30685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30687 arg2
= static_cast< int >(val2
);
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 (arg1
)->SetZoomControl(arg2
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= SWIG_Py_Void();
30701 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30704 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30705 return SWIG_Py_Void();
30708 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30709 return SWIG_Python_InitShadowInstance(args
);
30712 static PyMethodDef SwigMethods
[] = {
30713 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30715 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30717 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30719 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30720 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30722 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30729 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30731 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30733 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30734 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30735 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30736 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30737 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30740 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30742 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30745 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30746 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30748 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30750 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30751 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30752 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30753 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30757 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30759 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30762 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30764 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30766 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30768 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30770 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30772 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30775 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30782 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30784 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30789 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30790 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30792 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30795 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30797 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30799 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30803 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30804 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30807 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30808 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30810 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30812 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30813 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30816 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30817 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30818 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30820 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30821 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30822 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30823 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30824 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30826 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30829 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30838 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30839 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30841 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30842 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30844 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30846 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30847 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30849 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30855 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30856 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30859 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30860 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30862 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30864 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30866 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30868 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30870 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30872 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30873 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30876 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30877 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30878 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30879 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30880 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30881 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30883 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30891 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30893 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30896 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30897 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30900 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30901 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30903 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30904 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30905 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30908 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30910 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30912 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30913 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30914 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30917 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30919 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30921 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30923 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30925 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30926 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30927 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30930 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30932 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30933 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30934 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30936 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30938 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30939 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30943 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30944 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30945 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30946 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30950 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30951 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30953 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30956 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30957 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30959 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30962 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30963 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30964 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30967 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30968 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30969 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30971 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30980 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30981 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30982 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30983 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30985 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30986 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30989 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30990 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30992 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30995 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30996 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30997 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31000 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31001 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31003 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31004 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31006 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31011 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31012 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31018 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31019 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31021 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31025 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31027 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31028 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31029 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31030 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31032 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31033 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31034 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31036 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"TaskBarIcon_GetHandle", (PyCFunction
)_wrap_TaskBarIcon_GetHandle
, METH_O
, NULL
},
31038 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31039 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31040 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31042 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31043 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31044 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31045 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31046 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31047 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31052 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31053 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31055 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31056 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31057 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31060 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31061 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31064 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31065 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31074 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31075 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31076 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31077 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31078 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
31079 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31080 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31081 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31082 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31083 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31084 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31087 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31088 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31089 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31091 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31092 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31094 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31095 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31097 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31099 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31100 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31102 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31103 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31104 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31105 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31107 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31108 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31109 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31110 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31111 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31112 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31119 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31120 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31122 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31123 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31124 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31127 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31128 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31131 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31132 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31133 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31135 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31136 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31137 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31138 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31142 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31143 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31145 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31146 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31147 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31148 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31152 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31153 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31155 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31157 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31159 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31160 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31162 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31164 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31165 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31166 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31167 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31168 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31169 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31170 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31171 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31174 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31175 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31177 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31179 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31180 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31181 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31183 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31185 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31186 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31188 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31196 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31197 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31198 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31199 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31200 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31201 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31202 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31203 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31204 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31206 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31214 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31215 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31216 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31217 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31218 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31219 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31220 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31221 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31222 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31224 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31232 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31233 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31234 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31235 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31236 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31237 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31238 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31239 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31240 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31241 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31242 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31243 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31244 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31245 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31246 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31247 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31248 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31249 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31250 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31251 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31252 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31253 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31254 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31266 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31268 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31270 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31271 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31272 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31273 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31279 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31280 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31281 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31282 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31283 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31284 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31285 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31286 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31287 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31288 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31289 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31290 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31291 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31292 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31293 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31303 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31304 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31305 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31306 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31308 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31309 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31310 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31311 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31312 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31313 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31314 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31315 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31316 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31317 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31318 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31319 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31320 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31321 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31322 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31323 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31337 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31338 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31339 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31340 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31341 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31342 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31344 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31345 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31347 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31348 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31349 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31350 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31351 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31352 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31354 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31360 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31361 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31362 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31363 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31364 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31366 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31368 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31369 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31372 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31374 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31376 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31378 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31379 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31382 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31383 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31384 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31385 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31387 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31388 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31389 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31391 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31392 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31394 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31395 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31396 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31397 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31398 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31399 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31401 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31403 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31404 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31405 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31406 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31407 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31408 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31409 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31410 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31411 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31412 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31414 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31416 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31417 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31420 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31421 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31426 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31428 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31429 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31430 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31431 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31434 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31435 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31436 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31437 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31439 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31440 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31445 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31446 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31447 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31448 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31449 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31453 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31455 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31456 { NULL
, NULL
, 0, NULL
}
31460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31462 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31463 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31465 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31468 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31469 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31471 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31472 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31474 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31475 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31477 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31478 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31480 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31481 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31483 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31484 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31486 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31487 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31489 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31492 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31495 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31496 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31498 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31499 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31501 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31502 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31504 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31505 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31507 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31508 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31510 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31511 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31513 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31514 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31516 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31517 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31519 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31520 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31522 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31523 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31525 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31526 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31528 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31529 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31531 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31532 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31534 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31535 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31537 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31538 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31540 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31541 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31543 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31544 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31546 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31547 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31549 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31550 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31552 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31553 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31555 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31556 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31558 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31559 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31561 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31562 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31564 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31565 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31567 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31568 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31570 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31571 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31573 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31574 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31576 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31577 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31579 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31580 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31582 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31583 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31585 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31586 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31588 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31589 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31591 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31592 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31594 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31595 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31597 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31600 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31603 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31606 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31607 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31609 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31610 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31612 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31613 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31615 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31616 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31618 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31621 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31624 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31627 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31630 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31633 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31636 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31639 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31642 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31643 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31645 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31646 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31648 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31651 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31654 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31657 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31658 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31660 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31663 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31664 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31666 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31667 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31669 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31670 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31672 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31673 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31675 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31678 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31679 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31681 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31682 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31684 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31687 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31690 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31693 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31696 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31699 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31700 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31702 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31705 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31706 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31708 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31711 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31714 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31717 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31720 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31723 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31724 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31726 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31729 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31732 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31735 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31738 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31741 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31744 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31745 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31747 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31748 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31750 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31751 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31753 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31754 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31756 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31757 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31759 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31760 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31762 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31763 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31765 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31766 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31768 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31771 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31774 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31777 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31780 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31783 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31786 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31789 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31792 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31795 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31798 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) ((wxSizer
*) x
));
31801 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31804 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31807 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31810 static void *_p_wxEventTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) ((wxEvent
*) x
));
31813 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) ((wxFontData
*) x
));
31816 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31819 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31822 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31825 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31828 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31831 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31834 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31837 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31840 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31843 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31846 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31849 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31852 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31855 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31858 static void *_p_wxControlTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31861 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31864 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31867 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31870 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31873 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31876 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31879 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) ((wxColourData
*) x
));
31882 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31885 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31888 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31891 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31894 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31897 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31900 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31903 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31906 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31909 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31912 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31915 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31918 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31921 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31924 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31927 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31930 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31933 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31936 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31939 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31942 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31945 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31948 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31951 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31954 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31957 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31960 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31963 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31966 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31969 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31972 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31975 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31978 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31981 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31984 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31987 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31990 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31993 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31996 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31999 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32002 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32005 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32008 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32011 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32014 static void *_p_wxImageTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) ((wxImage
*) x
));
32017 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32020 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32023 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32026 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32029 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32032 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32035 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32038 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32041 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32044 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32047 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32050 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32053 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32056 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32059 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32062 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32065 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32068 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32071 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32074 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32077 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32080 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32083 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32086 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32089 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32092 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32095 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32098 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32101 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32104 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32107 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32110 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32113 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32116 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32119 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32122 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32125 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32128 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32131 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32134 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32137 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32140 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32143 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32146 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32149 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32152 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32155 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32158 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32161 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32164 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32167 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32170 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32173 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32176 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32177 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32179 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32180 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32182 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32183 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32185 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32186 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32188 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32189 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32191 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32192 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32194 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32195 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32197 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32198 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32200 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32201 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32203 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32204 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32206 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32207 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32209 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32210 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32212 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32213 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32215 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32216 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32218 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32219 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32221 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32222 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32224 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32225 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32227 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32228 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32230 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32231 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32233 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32234 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32236 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32237 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32239 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32240 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32242 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32243 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32245 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32246 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32248 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32249 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32251 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32254 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32255 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32257 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32258 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32260 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32261 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32263 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32266 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32267 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32269 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32270 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32272 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32273 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32275 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32276 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32278 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32279 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32281 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32282 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32284 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32285 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32287 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32288 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32290 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32291 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32293 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32294 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32296 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32297 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32299 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32300 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32302 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32303 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32305 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32306 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32308 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32309 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32311 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32312 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32314 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32315 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32317 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32318 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32320 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32321 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32323 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32324 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32326 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32327 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32329 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32330 return (void *)((wxWindow
*) ((wxControl
*) x
));
32332 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32333 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32335 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32336 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32338 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32339 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32341 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32342 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32344 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32345 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32347 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32348 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32350 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32351 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32353 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32354 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32356 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32357 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32359 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32360 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32362 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32363 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32365 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32366 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32368 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32369 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32371 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32372 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32374 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32375 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32377 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32378 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32380 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32381 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32383 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32384 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32386 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32387 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32389 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32390 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32392 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32393 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32395 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32396 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32398 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32399 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32401 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32402 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32404 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32405 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32407 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32408 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32410 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32411 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32413 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32414 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32416 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32417 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32419 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32420 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32422 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32423 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32425 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32426 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32428 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32429 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32431 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32432 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32434 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32435 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32437 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32438 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32440 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32441 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32443 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32444 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32446 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32447 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32449 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32450 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32452 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32453 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32455 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32456 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32458 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32459 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32461 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32462 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32464 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32465 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32467 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32468 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32470 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32471 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32473 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32474 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32476 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32477 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32479 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32480 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32482 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32483 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32485 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32487 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};
32488 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32493 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32494 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32495 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32496 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32497 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32498 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32500 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32501 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32502 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32503 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32504 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32505 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32506 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32507 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32513 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32514 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32515 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32516 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32517 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32518 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32519 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32520 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32521 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32522 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32523 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32524 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32525 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32526 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32527 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32528 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32529 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32530 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32531 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32532 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32533 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32534 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32535 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32536 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32537 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32538 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32539 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32540 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32541 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32542 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32543 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32544 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32545 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32546 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32547 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32548 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32549 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32550 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32551 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32552 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32553 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32554 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32555 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32556 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32557 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32558 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32559 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32560 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32561 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32562 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32563 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32564 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32565 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32566 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32567 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32568 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32569 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32570 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32571 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32572 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32573 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32574 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32575 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32576 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32577 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32578 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32579 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32580 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32581 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32582 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32583 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32584 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32585 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32586 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32587 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32588 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32589 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32590 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32591 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32592 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32593 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32594 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32605 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32606 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32607 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32608 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32609 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32636 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32637 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32638 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32639 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32640 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32641 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32643 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32644 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32648 static swig_type_info
*swig_type_initial
[] = {
32651 &_swigt__p_form_ops_t
,
32653 &_swigt__p_unsigned_char
,
32654 &_swigt__p_unsigned_int
,
32655 &_swigt__p_unsigned_long
,
32656 &_swigt__p_wxANIHandler
,
32657 &_swigt__p_wxAcceleratorTable
,
32658 &_swigt__p_wxActivateEvent
,
32659 &_swigt__p_wxArrayInt
,
32660 &_swigt__p_wxBMPHandler
,
32661 &_swigt__p_wxBitmap
,
32662 &_swigt__p_wxBoxSizer
,
32663 &_swigt__p_wxCURHandler
,
32664 &_swigt__p_wxCalculateLayoutEvent
,
32665 &_swigt__p_wxChildFocusEvent
,
32666 &_swigt__p_wxCloseEvent
,
32667 &_swigt__p_wxColour
,
32668 &_swigt__p_wxColourData
,
32669 &_swigt__p_wxColourDialog
,
32670 &_swigt__p_wxCommandEvent
,
32671 &_swigt__p_wxContextMenuEvent
,
32672 &_swigt__p_wxControl
,
32673 &_swigt__p_wxControlWithItems
,
32675 &_swigt__p_wxDateEvent
,
32676 &_swigt__p_wxDialog
,
32677 &_swigt__p_wxDirDialog
,
32678 &_swigt__p_wxDisplayChangedEvent
,
32679 &_swigt__p_wxDropFilesEvent
,
32680 &_swigt__p_wxDuplexMode
,
32681 &_swigt__p_wxEraseEvent
,
32682 &_swigt__p_wxEvent
,
32683 &_swigt__p_wxEvtHandler
,
32684 &_swigt__p_wxFSFile
,
32685 &_swigt__p_wxFileDialog
,
32686 &_swigt__p_wxFileSystem
,
32687 &_swigt__p_wxFindDialogEvent
,
32688 &_swigt__p_wxFindReplaceData
,
32689 &_swigt__p_wxFindReplaceDialog
,
32690 &_swigt__p_wxFlexGridSizer
,
32691 &_swigt__p_wxFocusEvent
,
32693 &_swigt__p_wxFontData
,
32694 &_swigt__p_wxFontDialog
,
32695 &_swigt__p_wxFrame
,
32696 &_swigt__p_wxGBSizerItem
,
32697 &_swigt__p_wxGIFHandler
,
32698 &_swigt__p_wxGridBagSizer
,
32699 &_swigt__p_wxGridSizer
,
32700 &_swigt__p_wxHtmlLinkInfo
,
32701 &_swigt__p_wxICOHandler
,
32703 &_swigt__p_wxIconBundle
,
32704 &_swigt__p_wxIconizeEvent
,
32705 &_swigt__p_wxIdleEvent
,
32706 &_swigt__p_wxImage
,
32707 &_swigt__p_wxImageHandler
,
32708 &_swigt__p_wxIndividualLayoutConstraint
,
32709 &_swigt__p_wxInitDialogEvent
,
32710 &_swigt__p_wxJPEGHandler
,
32711 &_swigt__p_wxKeyEvent
,
32712 &_swigt__p_wxLayoutAlgorithm
,
32713 &_swigt__p_wxLayoutConstraints
,
32714 &_swigt__p_wxMDIChildFrame
,
32715 &_swigt__p_wxMDIClientWindow
,
32716 &_swigt__p_wxMDIParentFrame
,
32717 &_swigt__p_wxMaximizeEvent
,
32719 &_swigt__p_wxMenuBar
,
32720 &_swigt__p_wxMenuEvent
,
32721 &_swigt__p_wxMenuItem
,
32722 &_swigt__p_wxMessageDialog
,
32723 &_swigt__p_wxMiniFrame
,
32724 &_swigt__p_wxMouseCaptureChangedEvent
,
32725 &_swigt__p_wxMouseEvent
,
32726 &_swigt__p_wxMoveEvent
,
32727 &_swigt__p_wxMultiChoiceDialog
,
32728 &_swigt__p_wxNavigationKeyEvent
,
32729 &_swigt__p_wxNcPaintEvent
,
32730 &_swigt__p_wxNotifyEvent
,
32731 &_swigt__p_wxObject
,
32732 &_swigt__p_wxPCXHandler
,
32733 &_swigt__p_wxPNGHandler
,
32734 &_swigt__p_wxPNMHandler
,
32735 &_swigt__p_wxPageSetupDialog
,
32736 &_swigt__p_wxPageSetupDialogData
,
32737 &_swigt__p_wxPaintEvent
,
32738 &_swigt__p_wxPaletteChangedEvent
,
32739 &_swigt__p_wxPanel
,
32740 &_swigt__p_wxPaperSize
,
32741 &_swigt__p_wxPasswordEntryDialog
,
32742 &_swigt__p_wxPoint
,
32743 &_swigt__p_wxPopupWindow
,
32744 &_swigt__p_wxPreviewCanvas
,
32745 &_swigt__p_wxPreviewControlBar
,
32746 &_swigt__p_wxPreviewFrame
,
32747 &_swigt__p_wxPrintData
,
32748 &_swigt__p_wxPrintDialog
,
32749 &_swigt__p_wxPrintDialogData
,
32750 &_swigt__p_wxPrintPreview
,
32751 &_swigt__p_wxPrinter
,
32752 &_swigt__p_wxProgressDialog
,
32753 &_swigt__p_wxPyApp
,
32754 &_swigt__p_wxPyCommandEvent
,
32755 &_swigt__p_wxPyEvent
,
32756 &_swigt__p_wxPyHtmlListBox
,
32757 &_swigt__p_wxPyImageHandler
,
32758 &_swigt__p_wxPyPanel
,
32759 &_swigt__p_wxPyPopupTransientWindow
,
32760 &_swigt__p_wxPyPreviewControlBar
,
32761 &_swigt__p_wxPyPreviewFrame
,
32762 &_swigt__p_wxPyPrintPreview
,
32763 &_swigt__p_wxPyPrintout
,
32764 &_swigt__p_wxPyScrolledWindow
,
32765 &_swigt__p_wxPySizer
,
32766 &_swigt__p_wxPyTaskBarIcon
,
32767 &_swigt__p_wxPyVListBox
,
32768 &_swigt__p_wxPyVScrolledWindow
,
32769 &_swigt__p_wxPyValidator
,
32770 &_swigt__p_wxPyWindow
,
32771 &_swigt__p_wxQueryLayoutInfoEvent
,
32772 &_swigt__p_wxQueryNewPaletteEvent
,
32774 &_swigt__p_wxRegion
,
32775 &_swigt__p_wxSashEvent
,
32776 &_swigt__p_wxSashLayoutWindow
,
32777 &_swigt__p_wxSashWindow
,
32778 &_swigt__p_wxScrollEvent
,
32779 &_swigt__p_wxScrollWinEvent
,
32780 &_swigt__p_wxScrolledWindow
,
32781 &_swigt__p_wxSetCursorEvent
,
32782 &_swigt__p_wxShowEvent
,
32783 &_swigt__p_wxSingleChoiceDialog
,
32785 &_swigt__p_wxSizeEvent
,
32786 &_swigt__p_wxSizer
,
32787 &_swigt__p_wxSizerItem
,
32788 &_swigt__p_wxSplashScreen
,
32789 &_swigt__p_wxSplashScreenWindow
,
32790 &_swigt__p_wxSplitterEvent
,
32791 &_swigt__p_wxSplitterWindow
,
32792 &_swigt__p_wxStaticBoxSizer
,
32793 &_swigt__p_wxStatusBar
,
32794 &_swigt__p_wxStdDialogButtonSizer
,
32795 &_swigt__p_wxString
,
32796 &_swigt__p_wxSysColourChangedEvent
,
32797 &_swigt__p_wxTIFFHandler
,
32798 &_swigt__p_wxTaskBarIcon
,
32799 &_swigt__p_wxTaskBarIconEvent
,
32800 &_swigt__p_wxTextEntryDialog
,
32801 &_swigt__p_wxTipWindow
,
32802 &_swigt__p_wxToolBar
,
32803 &_swigt__p_wxTopLevelWindow
,
32804 &_swigt__p_wxUpdateUIEvent
,
32805 &_swigt__p_wxValidator
,
32806 &_swigt__p_wxVisualAttributes
,
32807 &_swigt__p_wxWindow
,
32808 &_swigt__p_wxWindowCreateEvent
,
32809 &_swigt__p_wxWindowDestroyEvent
,
32810 &_swigt__p_wxXPMHandler
,
32813 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32815 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32816 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32823 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32824 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32825 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32826 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32836 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}};
32837 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32854 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32861 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32862 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32870 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}};
32871 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32879 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}};
32880 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32892 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}};
32893 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32903 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32910 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32914 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32924 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}};
32925 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32928 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}};
32929 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32930 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}};
32931 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}};
32932 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32935 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}};
32936 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32940 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}};
32941 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32947 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}};
32948 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}};
32949 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32955 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}};
32956 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32957 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}};
32958 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32969 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}};
32970 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32972 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}};
32973 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32974 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}};
32976 static swig_cast_info
*swig_cast_initial
[] = {
32979 _swigc__p_form_ops_t
,
32981 _swigc__p_unsigned_char
,
32982 _swigc__p_unsigned_int
,
32983 _swigc__p_unsigned_long
,
32984 _swigc__p_wxANIHandler
,
32985 _swigc__p_wxAcceleratorTable
,
32986 _swigc__p_wxActivateEvent
,
32987 _swigc__p_wxArrayInt
,
32988 _swigc__p_wxBMPHandler
,
32989 _swigc__p_wxBitmap
,
32990 _swigc__p_wxBoxSizer
,
32991 _swigc__p_wxCURHandler
,
32992 _swigc__p_wxCalculateLayoutEvent
,
32993 _swigc__p_wxChildFocusEvent
,
32994 _swigc__p_wxCloseEvent
,
32995 _swigc__p_wxColour
,
32996 _swigc__p_wxColourData
,
32997 _swigc__p_wxColourDialog
,
32998 _swigc__p_wxCommandEvent
,
32999 _swigc__p_wxContextMenuEvent
,
33000 _swigc__p_wxControl
,
33001 _swigc__p_wxControlWithItems
,
33003 _swigc__p_wxDateEvent
,
33004 _swigc__p_wxDialog
,
33005 _swigc__p_wxDirDialog
,
33006 _swigc__p_wxDisplayChangedEvent
,
33007 _swigc__p_wxDropFilesEvent
,
33008 _swigc__p_wxDuplexMode
,
33009 _swigc__p_wxEraseEvent
,
33011 _swigc__p_wxEvtHandler
,
33012 _swigc__p_wxFSFile
,
33013 _swigc__p_wxFileDialog
,
33014 _swigc__p_wxFileSystem
,
33015 _swigc__p_wxFindDialogEvent
,
33016 _swigc__p_wxFindReplaceData
,
33017 _swigc__p_wxFindReplaceDialog
,
33018 _swigc__p_wxFlexGridSizer
,
33019 _swigc__p_wxFocusEvent
,
33021 _swigc__p_wxFontData
,
33022 _swigc__p_wxFontDialog
,
33024 _swigc__p_wxGBSizerItem
,
33025 _swigc__p_wxGIFHandler
,
33026 _swigc__p_wxGridBagSizer
,
33027 _swigc__p_wxGridSizer
,
33028 _swigc__p_wxHtmlLinkInfo
,
33029 _swigc__p_wxICOHandler
,
33031 _swigc__p_wxIconBundle
,
33032 _swigc__p_wxIconizeEvent
,
33033 _swigc__p_wxIdleEvent
,
33035 _swigc__p_wxImageHandler
,
33036 _swigc__p_wxIndividualLayoutConstraint
,
33037 _swigc__p_wxInitDialogEvent
,
33038 _swigc__p_wxJPEGHandler
,
33039 _swigc__p_wxKeyEvent
,
33040 _swigc__p_wxLayoutAlgorithm
,
33041 _swigc__p_wxLayoutConstraints
,
33042 _swigc__p_wxMDIChildFrame
,
33043 _swigc__p_wxMDIClientWindow
,
33044 _swigc__p_wxMDIParentFrame
,
33045 _swigc__p_wxMaximizeEvent
,
33047 _swigc__p_wxMenuBar
,
33048 _swigc__p_wxMenuEvent
,
33049 _swigc__p_wxMenuItem
,
33050 _swigc__p_wxMessageDialog
,
33051 _swigc__p_wxMiniFrame
,
33052 _swigc__p_wxMouseCaptureChangedEvent
,
33053 _swigc__p_wxMouseEvent
,
33054 _swigc__p_wxMoveEvent
,
33055 _swigc__p_wxMultiChoiceDialog
,
33056 _swigc__p_wxNavigationKeyEvent
,
33057 _swigc__p_wxNcPaintEvent
,
33058 _swigc__p_wxNotifyEvent
,
33059 _swigc__p_wxObject
,
33060 _swigc__p_wxPCXHandler
,
33061 _swigc__p_wxPNGHandler
,
33062 _swigc__p_wxPNMHandler
,
33063 _swigc__p_wxPageSetupDialog
,
33064 _swigc__p_wxPageSetupDialogData
,
33065 _swigc__p_wxPaintEvent
,
33066 _swigc__p_wxPaletteChangedEvent
,
33068 _swigc__p_wxPaperSize
,
33069 _swigc__p_wxPasswordEntryDialog
,
33071 _swigc__p_wxPopupWindow
,
33072 _swigc__p_wxPreviewCanvas
,
33073 _swigc__p_wxPreviewControlBar
,
33074 _swigc__p_wxPreviewFrame
,
33075 _swigc__p_wxPrintData
,
33076 _swigc__p_wxPrintDialog
,
33077 _swigc__p_wxPrintDialogData
,
33078 _swigc__p_wxPrintPreview
,
33079 _swigc__p_wxPrinter
,
33080 _swigc__p_wxProgressDialog
,
33082 _swigc__p_wxPyCommandEvent
,
33083 _swigc__p_wxPyEvent
,
33084 _swigc__p_wxPyHtmlListBox
,
33085 _swigc__p_wxPyImageHandler
,
33086 _swigc__p_wxPyPanel
,
33087 _swigc__p_wxPyPopupTransientWindow
,
33088 _swigc__p_wxPyPreviewControlBar
,
33089 _swigc__p_wxPyPreviewFrame
,
33090 _swigc__p_wxPyPrintPreview
,
33091 _swigc__p_wxPyPrintout
,
33092 _swigc__p_wxPyScrolledWindow
,
33093 _swigc__p_wxPySizer
,
33094 _swigc__p_wxPyTaskBarIcon
,
33095 _swigc__p_wxPyVListBox
,
33096 _swigc__p_wxPyVScrolledWindow
,
33097 _swigc__p_wxPyValidator
,
33098 _swigc__p_wxPyWindow
,
33099 _swigc__p_wxQueryLayoutInfoEvent
,
33100 _swigc__p_wxQueryNewPaletteEvent
,
33102 _swigc__p_wxRegion
,
33103 _swigc__p_wxSashEvent
,
33104 _swigc__p_wxSashLayoutWindow
,
33105 _swigc__p_wxSashWindow
,
33106 _swigc__p_wxScrollEvent
,
33107 _swigc__p_wxScrollWinEvent
,
33108 _swigc__p_wxScrolledWindow
,
33109 _swigc__p_wxSetCursorEvent
,
33110 _swigc__p_wxShowEvent
,
33111 _swigc__p_wxSingleChoiceDialog
,
33113 _swigc__p_wxSizeEvent
,
33115 _swigc__p_wxSizerItem
,
33116 _swigc__p_wxSplashScreen
,
33117 _swigc__p_wxSplashScreenWindow
,
33118 _swigc__p_wxSplitterEvent
,
33119 _swigc__p_wxSplitterWindow
,
33120 _swigc__p_wxStaticBoxSizer
,
33121 _swigc__p_wxStatusBar
,
33122 _swigc__p_wxStdDialogButtonSizer
,
33123 _swigc__p_wxString
,
33124 _swigc__p_wxSysColourChangedEvent
,
33125 _swigc__p_wxTIFFHandler
,
33126 _swigc__p_wxTaskBarIcon
,
33127 _swigc__p_wxTaskBarIconEvent
,
33128 _swigc__p_wxTextEntryDialog
,
33129 _swigc__p_wxTipWindow
,
33130 _swigc__p_wxToolBar
,
33131 _swigc__p_wxTopLevelWindow
,
33132 _swigc__p_wxUpdateUIEvent
,
33133 _swigc__p_wxValidator
,
33134 _swigc__p_wxVisualAttributes
,
33135 _swigc__p_wxWindow
,
33136 _swigc__p_wxWindowCreateEvent
,
33137 _swigc__p_wxWindowDestroyEvent
,
33138 _swigc__p_wxXPMHandler
,
33142 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33144 static swig_const_info swig_const_table
[] = {
33145 {0, 0, 0, 0.0, 0, 0}};
33150 /* -----------------------------------------------------------------------------
33151 * Type initialization:
33152 * This problem is tough by the requirement that no dynamic
33153 * memory is used. Also, since swig_type_info structures store pointers to
33154 * swig_cast_info structures and swig_cast_info structures store pointers back
33155 * to swig_type_info structures, we need some lookup code at initialization.
33156 * The idea is that swig generates all the structures that are needed.
33157 * The runtime then collects these partially filled structures.
33158 * The SWIG_InitializeModule function takes these initial arrays out of
33159 * swig_module, and does all the lookup, filling in the swig_module.types
33160 * array with the correct data and linking the correct swig_cast_info
33161 * structures together.
33163 * The generated swig_type_info structures are assigned staticly to an initial
33164 * array. We just loop though that array, and handle each type individually.
33165 * First we lookup if this type has been already loaded, and if so, use the
33166 * loaded structure instead of the generated one. Then we have to fill in the
33167 * cast linked list. The cast data is initially stored in something like a
33168 * two-dimensional array. Each row corresponds to a type (there are the same
33169 * number of rows as there are in the swig_type_initial array). Each entry in
33170 * a column is one of the swig_cast_info structures for that type.
33171 * The cast_initial array is actually an array of arrays, because each row has
33172 * a variable number of columns. So to actually build the cast linked list,
33173 * we find the array of casts associated with the type, and loop through it
33174 * adding the casts to the list. The one last trick we need to do is making
33175 * sure the type pointer in the swig_cast_info struct is correct.
33177 * First off, we lookup the cast->type name to see if it is already loaded.
33178 * There are three cases to handle:
33179 * 1) If the cast->type has already been loaded AND the type we are adding
33180 * casting info to has not been loaded (it is in this module), THEN we
33181 * replace the cast->type pointer with the type pointer that has already
33183 * 2) If BOTH types (the one we are adding casting info to, and the
33184 * cast->type) are loaded, THEN the cast info has already been loaded by
33185 * the previous module so we just ignore it.
33186 * 3) Finally, if cast->type has not already been loaded, then we add that
33187 * swig_cast_info to the linked list (because the cast->type) pointer will
33189 * ----------------------------------------------------------------------------- */
33199 #define SWIGRUNTIME_DEBUG
33203 SWIG_InitializeModule(void *clientdata
) {
33205 swig_module_info
*module_head
;
33206 static int init_run
= 0;
33208 clientdata
= clientdata
;
33210 if (init_run
) return;
33213 /* Initialize the swig_module */
33214 swig_module
.type_initial
= swig_type_initial
;
33215 swig_module
.cast_initial
= swig_cast_initial
;
33217 /* Try and load any already created modules */
33218 module_head
= SWIG_GetModule(clientdata
);
33220 swig_module
.next
= module_head
->next
;
33221 module_head
->next
= &swig_module
;
33223 /* This is the first module loaded */
33224 swig_module
.next
= &swig_module
;
33225 SWIG_SetModule(clientdata
, &swig_module
);
33228 /* Now work on filling in swig_module.types */
33229 #ifdef SWIGRUNTIME_DEBUG
33230 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33232 for (i
= 0; i
< swig_module
.size
; ++i
) {
33233 swig_type_info
*type
= 0;
33234 swig_type_info
*ret
;
33235 swig_cast_info
*cast
;
33237 #ifdef SWIGRUNTIME_DEBUG
33238 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33241 /* if there is another module already loaded */
33242 if (swig_module
.next
!= &swig_module
) {
33243 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33246 /* Overwrite clientdata field */
33247 #ifdef SWIGRUNTIME_DEBUG
33248 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33250 if (swig_module
.type_initial
[i
]->clientdata
) {
33251 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33252 #ifdef SWIGRUNTIME_DEBUG
33253 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33257 type
= swig_module
.type_initial
[i
];
33260 /* Insert casting types */
33261 cast
= swig_module
.cast_initial
[i
];
33262 while (cast
->type
) {
33263 /* Don't need to add information already in the list */
33265 #ifdef SWIGRUNTIME_DEBUG
33266 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33268 if (swig_module
.next
!= &swig_module
) {
33269 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33270 #ifdef SWIGRUNTIME_DEBUG
33271 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33275 if (type
== swig_module
.type_initial
[i
]) {
33276 #ifdef SWIGRUNTIME_DEBUG
33277 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33282 /* Check for casting already in the list */
33283 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33284 #ifdef SWIGRUNTIME_DEBUG
33285 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33287 if (!ocast
) ret
= 0;
33292 #ifdef SWIGRUNTIME_DEBUG
33293 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33296 type
->cast
->prev
= cast
;
33297 cast
->next
= type
->cast
;
33303 /* Set entry in modules->types array equal to the type */
33304 swig_module
.types
[i
] = type
;
33306 swig_module
.types
[i
] = 0;
33308 #ifdef SWIGRUNTIME_DEBUG
33309 printf("**** SWIG_InitializeModule: Cast List ******\n");
33310 for (i
= 0; i
< swig_module
.size
; ++i
) {
33312 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33313 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33314 while (cast
->type
) {
33315 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33319 printf("---- Total casts: %d\n",j
);
33321 printf("**** SWIG_InitializeModule: Cast List ******\n");
33325 /* This function will propagate the clientdata field of type to
33326 * any new swig_type_info structures that have been added into the list
33327 * of equivalent types. It is like calling
33328 * SWIG_TypeClientData(type, clientdata) a second time.
33331 SWIG_PropagateClientData(void) {
33333 swig_cast_info
*equiv
;
33334 static int init_run
= 0;
33336 if (init_run
) return;
33339 for (i
= 0; i
< swig_module
.size
; i
++) {
33340 if (swig_module
.types
[i
]->clientdata
) {
33341 equiv
= swig_module
.types
[i
]->cast
;
33343 if (!equiv
->converter
) {
33344 if (equiv
->type
&& !equiv
->type
->clientdata
)
33345 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33347 equiv
= equiv
->next
;
33367 /* Python-specific SWIG API */
33368 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33369 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33370 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33372 /* -----------------------------------------------------------------------------
33373 * global variable support code.
33374 * ----------------------------------------------------------------------------- */
33376 typedef struct swig_globalvar
{
33377 char *name
; /* Name of global variable */
33378 PyObject
*(*get_attr
)(void); /* Return the current value */
33379 int (*set_attr
)(PyObject
*); /* Set the value */
33380 struct swig_globalvar
*next
;
33383 typedef struct swig_varlinkobject
{
33385 swig_globalvar
*vars
;
33386 } swig_varlinkobject
;
33388 SWIGINTERN PyObject
*
33389 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33390 return PyString_FromString("<Swig global variables>");
33393 SWIGINTERN PyObject
*
33394 swig_varlink_str(swig_varlinkobject
*v
) {
33395 PyObject
*str
= PyString_FromString("(");
33396 swig_globalvar
*var
;
33397 for (var
= v
->vars
; var
; var
=var
->next
) {
33398 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33399 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33401 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33406 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33407 PyObject
*str
= swig_varlink_str(v
);
33408 fprintf(fp
,"Swig global variables ");
33409 fprintf(fp
,"%s\n", PyString_AsString(str
));
33415 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33416 swig_globalvar
*var
= v
->vars
;
33418 swig_globalvar
*n
= var
->next
;
33425 SWIGINTERN PyObject
*
33426 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33427 PyObject
*res
= NULL
;
33428 swig_globalvar
*var
= v
->vars
;
33430 if (strcmp(var
->name
,n
) == 0) {
33431 res
= (*var
->get_attr
)();
33436 if (res
== NULL
&& !PyErr_Occurred()) {
33437 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33443 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33445 swig_globalvar
*var
= v
->vars
;
33447 if (strcmp(var
->name
,n
) == 0) {
33448 res
= (*var
->set_attr
)(p
);
33453 if (res
== 1 && !PyErr_Occurred()) {
33454 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33459 SWIGINTERN PyTypeObject
*
33460 swig_varlink_type(void) {
33461 static char varlink__doc__
[] = "Swig var link object";
33462 static PyTypeObject varlink_type
;
33463 static int type_init
= 0;
33465 const PyTypeObject tmp
33467 PyObject_HEAD_INIT(NULL
)
33468 0, /* Number of items in variable part (ob_size) */
33469 (char *)"swigvarlink", /* Type name (tp_name) */
33470 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33471 0, /* Itemsize (tp_itemsize) */
33472 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33473 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33474 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33475 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33476 0, /* tp_compare */
33477 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33478 0, /* tp_as_number */
33479 0, /* tp_as_sequence */
33480 0, /* tp_as_mapping */
33483 (reprfunc
)swig_varlink_str
, /* tp_str */
33484 0, /* tp_getattro */
33485 0, /* tp_setattro */
33486 0, /* tp_as_buffer */
33488 varlink__doc__
, /* tp_doc */
33489 0, /* tp_traverse */
33491 0, /* tp_richcompare */
33492 0, /* tp_weaklistoffset */
33493 #if PY_VERSION_HEX >= 0x02020000
33494 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33496 #if PY_VERSION_HEX >= 0x02030000
33499 #ifdef COUNT_ALLOCS
33500 0,0,0,0 /* tp_alloc -> tp_next */
33503 varlink_type
= tmp
;
33504 varlink_type
.ob_type
= &PyType_Type
;
33507 return &varlink_type
;
33510 /* Create a variable linking object for use later */
33511 SWIGINTERN PyObject
*
33512 SWIG_Python_newvarlink(void) {
33513 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33517 return ((PyObject
*) result
);
33521 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33522 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33523 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33525 size_t size
= strlen(name
)+1;
33526 gv
->name
= (char *)malloc(size
);
33528 strncpy(gv
->name
,name
,size
);
33529 gv
->get_attr
= get_attr
;
33530 gv
->set_attr
= set_attr
;
33531 gv
->next
= v
->vars
;
33537 SWIGINTERN PyObject
*
33539 static PyObject
*_SWIG_globals
= 0;
33540 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33541 return _SWIG_globals
;
33544 /* -----------------------------------------------------------------------------
33545 * constants/methods manipulation
33546 * ----------------------------------------------------------------------------- */
33548 /* Install Constants */
33550 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33553 for (i
= 0; constants
[i
].type
; ++i
) {
33554 switch(constants
[i
].type
) {
33555 case SWIG_PY_POINTER
:
33556 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33558 case SWIG_PY_BINARY
:
33559 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33566 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33572 /* -----------------------------------------------------------------------------*/
33573 /* Fix SwigMethods to carry the callback ptrs when needed */
33574 /* -----------------------------------------------------------------------------*/
33577 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33578 swig_const_info
*const_table
,
33579 swig_type_info
**types
,
33580 swig_type_info
**types_initial
) {
33582 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33583 char *c
= methods
[i
].ml_doc
;
33584 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33586 swig_const_info
*ci
= 0;
33587 char *name
= c
+ 10;
33588 for (j
= 0; const_table
[j
].type
; ++j
) {
33589 if (strncmp(const_table
[j
].name
, name
,
33590 strlen(const_table
[j
].name
)) == 0) {
33591 ci
= &(const_table
[j
]);
33596 size_t shift
= (ci
->ptype
) - types
;
33597 swig_type_info
*ty
= types_initial
[shift
];
33598 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33599 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33600 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33603 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33605 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33607 strncpy(buff
, "swig_ptr: ", 10);
33609 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33610 methods
[i
].ml_doc
= ndoc
;
33622 /* -----------------------------------------------------------------------------*
33623 * Partial Init method
33624 * -----------------------------------------------------------------------------*/
33629 SWIGEXPORT
void SWIG_init(void) {
33632 /* Fix SwigMethods to carry the callback ptrs when needed */
33633 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33635 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33636 d
= PyModule_GetDict(m
);
33638 SWIG_InitializeModule(0);
33639 SWIG_InstallConstants(d
,swig_const_table
);
33642 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33643 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33644 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33645 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33646 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33647 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33648 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33649 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33650 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33651 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33652 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33653 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33654 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33655 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33656 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33657 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33658 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33659 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33660 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33661 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33662 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33663 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33664 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33665 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33666 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33667 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33668 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33669 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33670 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33671 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33672 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33673 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33674 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33675 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33676 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33677 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33678 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33679 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33680 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33681 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33682 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33683 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33684 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33685 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33686 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33687 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33688 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33689 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33690 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33691 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33692 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33693 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33694 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33695 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33696 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33697 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33698 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33699 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33700 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33701 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33702 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33703 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33704 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33705 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33706 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33707 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33708 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33709 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33710 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33711 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33712 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33713 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33714 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33715 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33716 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33717 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33718 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33719 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33720 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33721 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33722 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33723 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33724 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33725 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33726 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33727 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33728 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33729 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33730 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33731 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33732 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33733 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33734 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33735 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33736 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33737 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33738 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33739 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33740 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33741 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33742 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33743 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33745 // Map renamed classes back to their common name for OOR
33746 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33747 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33748 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33750 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33751 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33752 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33753 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33754 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33755 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33756 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33757 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33758 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33759 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33760 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33761 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33762 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33763 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33764 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33765 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33766 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33767 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33768 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33769 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33770 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33771 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33772 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33773 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33774 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33775 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33776 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33777 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33778 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33779 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33780 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33781 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33782 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33783 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33784 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33785 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33786 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33787 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33788 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33789 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33790 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33791 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33792 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33793 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33794 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33795 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33796 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33797 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33798 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33799 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33800 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33801 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33802 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33803 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33804 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33805 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33806 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33807 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33808 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33809 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33810 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33811 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33812 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33813 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33814 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33815 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33816 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33817 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33818 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33819 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33820 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33821 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33822 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33823 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33824 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33825 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33826 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33827 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33829 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");